|
VectSharp 2.6.1
A light library for C# vector graphics
|
Represents a brush used to fill or stroke graphics elements. This could be a solid colour, or a more complicated gradient or pattern. More...

Public Member Functions | |
| abstract Brush | MultiplyOpacity (double opacity) |
| Returns a brush corresponding the current instance, with the specified opacity multiplication applied. More... | |
Static Public Member Functions | |
| static implicit | operator Brush (Colour colour) |
| Implicitly converts a Colour into a SolidColourBrush. More... | |
Represents a brush used to fill or stroke graphics elements. This could be a solid colour, or a more complicated gradient or pattern.
|
pure virtual |
Returns a brush corresponding the current instance, with the specified opacity multiplication applied.
| opacity | The value that will be used to multiply the opacity of the brush. |
Implemented in VectSharp.SolidColourBrush, VectSharp.LinearGradientBrush, and VectSharp.RadialGradientBrush.
Implicitly converts a Colour into a SolidColourBrush.
| colour | The Colour to use for the brush. |