Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.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