[]
Creates a new SolidColorBrush that has the specified color and opacity.
public static SolidColorBrush Create(RenderTarget renderTarget, ColorF color)
Public Shared Function Create(renderTarget As RenderTarget, color As ColorF) As SolidColorBrush
| Type | Name | Description |
|---|---|---|
| RenderTarget | renderTarget | an instance of RenderTarget |
| ColorF | color | The red, green, blue, and alpha values of the brush's color. |
| Type | Description |
|---|---|
| SolidColorBrush |
Creates a new SolidColorBrush that has the specified color and opacity.
public static SolidColorBrush Create(RenderTarget renderTarget, ColorF color, BrushProperties? brushProperties)
Public Shared Function Create(renderTarget As RenderTarget, color As ColorF, brushProperties As BrushProperties?) As SolidColorBrush
| Type | Name | Description |
|---|---|---|
| RenderTarget | renderTarget | an instance of RenderTarget |
| ColorF | color | The red, green, blue, and alpha values of the brush's color. |
| BrushProperties? | brushProperties | The base opacity of the brush. |
| Type | Description |
|---|---|
| SolidColorBrush |