VectSharp
2.2.1
A light library for C# vector graphics
|
Represents a brush painting with a single solid colour. More...
Public Member Functions | |
SolidColourBrush (Colour colour) | |
Creates a new SolidColourBrush with the specified colour . More... | |
override Brush | MultiplyOpacity (double opacity) |
Returns a brush corresponding the current instance, with the specified opacity multiplication applied. | |
Static Public Member Functions | |
static implicit | operator SolidColourBrush (Colour colour) |
Implicitly converts a Colour into a SolidColourBrush. More... | |
![]() | |
static implicit | operator Brush (Colour colour) |
Implicitly converts a Colour into a SolidColourBrush. More... | |
Public Attributes | |
double | R => Colour.R |
Red component of the colour. Range: [0, 1]. More... | |
double | G => Colour.G |
Green component of the colour. Range: [0, 1]. More... | |
double | B => Colour.B |
Blue component of the colour. Range: [0, 1]. More... | |
double | A => Colour.A |
Alpha component of the colour. Range: [0, 1]. More... | |
Properties | |
Colour | Colour [get] |
The colour of the brush. More... | |
VectSharp.SolidColourBrush.SolidColourBrush | ( | Colour | colour | ) |
Creates a new SolidColourBrush with the specified colour .
colour | The Colour to use for the brush. |
|
static |
Implicitly converts a Colour into a SolidColourBrush.
colour | The Colour to use for the brush. |
double VectSharp.SolidColourBrush.A => Colour.A |
double VectSharp.SolidColourBrush.B => Colour.B |
double VectSharp.SolidColourBrush.G => Colour.G |
double VectSharp.SolidColourBrush.R => Colour.R |
|
get |