ComponentOne FinancialChart for WPF
C1.WPF Namespace / ColorEx Class / FromARGB Method
The alpha channel.
The Red component.
The Green component.
The Blue component.



In This Topic
    FromARGB Method
    In This Topic
    Creates a color from the ARGB components.
    Syntax
    'Declaration
     
    
    Public Shared Function FromARGB( _
       ByVal a As Byte, _
       ByVal r As Byte, _
       ByVal g As Byte, _
       ByVal b As Byte _
    ) As Brush
    'Usage
     
    
    Dim a As Byte
    Dim r As Byte
    Dim g As Byte
    Dim b As Byte
    Dim value As Brush
     
    value = ColorEx.FromARGB(a, r, g, b)
    public static Brush FromARGB( 
       byte a,
       byte r,
       byte g,
       byte b
    )
    public:
    static Brush^ FromARGB( 
       byte a,
       byte r,
       byte g,
       byte b
    ) 

    Parameters

    a
    The alpha channel.
    r
    The Red component.
    g
    The Green component.
    b
    The Blue component.
    See Also