[]
Creates a new SolidColorBrush that has the specified color and opacity.
public static SolidColorBrush Create(RenderTarget renderTarget, ColorF color)
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)
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 |