CanvasSolidColorBrushColor Property |
Gets or sets the color of the brush.
Namespace:
Microsoft.Graphics.Canvas.Brushes
Assembly:
Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax public Color Color { get; set; }
Property Value
Type:
ColorRemarks
If the color was previously set using
ColorHdr
to a value that cannot be represented by a Windows.UI.Color then the
value returned by this method is clamped. For example:
brush.ColorHdr = new Vector4(2.0f, 2.0f, 2.0f, 2.0f);
var color = brush.Color;
See Also