ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct2D Namespace / SolidColorBrush Class / Create Method / Create(RenderTarget,ColorF) Method
an instance of RenderTarget
The red, green, blue, and alpha values of the brush's color.

In This Topic
    Create(RenderTarget,ColorF) Method
    In This Topic
    Creates a new SolidColorBrush that has the specified color and opacity.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Create( _
       ByVal renderTarget As RenderTarget, _
       ByVal color As ColorF _
    ) As SolidColorBrush
    public static SolidColorBrush Create( 
       RenderTarget renderTarget,
       ColorF color
    )

    Parameters

    renderTarget
    an instance of RenderTarget
    color
    The red, green, blue, and alpha values of the brush's color.
    See Also