Eyeshot 11 WPF API Reference
WPF Assembly / devDept.Graphics Namespace / RenderContextUtility Class / ConvertColorFromArgb Method
The alpha channel of the new color.
The red channel of the new color.
The green channel of the new color.
The blue channel of the new color.

In This Topic
    ConvertColorFromArgb Method
    In This Topic
    Creates a new System.Windows.Media.Brush structure by using the specified sRGB alpha channel and color channel values.
    Syntax
    'Declaration
     
    Public Shared Function ConvertColorFromArgb( _
       ByVal a As Byte, _
       ByVal r As Byte, _
       ByVal g As Byte, _
       ByVal b As Byte _
    ) As Brush
    public static Brush ConvertColorFromArgb( 
       byte a,
       byte r,
       byte g,
       byte b
    )

    Parameters

    a
    The alpha channel of the new color.
    r
    The red channel of the new color.
    g
    The green channel of the new color.
    b
    The blue channel of the new color.

    Return Value

    A System.Windows.Media.Brush structure with the specified values
    See Also