ComponentOne FinancialChart for WPF
C1.WPF Namespace / ColorEx Class / WithAlpha Method
The color.
a.



In This Topic
    WithAlpha Method
    In This Topic
    Creates a new color modifying the alpha channel.
    Syntax
    'Declaration
     
    
    <ExtensionAttribute()>
    Public Shared Function WithAlpha( _
       ByVal color As Brush, _
       ByVal a As Byte _
    ) As Brush
    'Usage
     
    
    Dim color As Brush
    Dim a As Byte
    Dim value As Brush
     
    value = ColorEx.WithAlpha(color, a)
    [Extension()]
    public static Brush WithAlpha( 
       Brush color,
       byte a
    )
    [Extension()]
    public:
    static Brush^ WithAlpha( 
       Brush^ color,
       byte a
    ) 

    Parameters

    color
    The color.
    a
    a.
    See Also