CanvasSolidColorBrush Class |
Namespace: Microsoft.Graphics.Canvas.Brushes
public sealed class CanvasSolidColorBrush : ICanvasBrush, IDisposable
The CanvasSolidColorBrush type exposes the following members.
Name | Description | |
---|---|---|
CanvasSolidColorBrush | Initializes a new instance of the CanvasSolidColorBrush class. |
Name | Description | |
---|---|---|
Color | Gets or sets the color of the brush. | |
ColorHdr | Gets or sets the high-dynamic-range color of the brush. | |
Device | The device associated with this brush. | |
Opacity | Gets or sets the opacity of the brush. | |
Transform | Gets or sets the brush transform matrix. |
Name | Description | |
---|---|---|
CreateHdr | Initializes a new instance of the CanvasSolidColorBrush class using a specified high-dynamic-range color. | |
Dispose | Releases all resources used by the CanvasSolidColorBrush. |
When using Direct2D interop, this Win2D class corresponds to the Direct2D interface ID2D1SolidColorBrush.