Represents a brush painting with a single solid colour.
More...
|
| | 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. - Parameters
-
| opacity | The value that will be used to multiply the opacity of the brush. |
- Returns
- A brush corresponding the current instance, with the specified opacity multiplication applied.
More...
|
| |
| abstract Brush | MultiplyOpacity (double opacity) |
| | Returns a brush corresponding the current instance, with the specified opacity multiplication applied. More...
|
| |
|
| Colour | Colour [get] |
| | The colour of the brush. More...
|
| |
| double | R [get] |
| | Red component of the colour. Range: [0, 1]. More...
|
| |
| double | G [get] |
| | Green component of the colour. Range: [0, 1]. More...
|
| |
| double | B [get] |
| | Blue component of the colour. Range: [0, 1]. More...
|
| |
| double | A [get] |
| | Alpha component of the colour. Range: [0, 1]. More...
|
| |
Represents a brush painting with a single solid colour.
Definition at line 57 of file Brush.cs.
◆ SolidColourBrush()
| VectSharp.SolidColourBrush.SolidColourBrush |
( |
Colour |
colour | ) |
|
◆ MultiplyOpacity()
| override Brush VectSharp.SolidColourBrush.MultiplyOpacity |
( |
double |
opacity | ) |
|
|
virtual |
Returns a brush corresponding the current instance, with the specified opacity multiplication applied.
- Parameters
-
| opacity | The value that will be used to multiply the opacity of the brush. |
- Returns
- A brush corresponding the current instance, with the specified opacity multiplication applied.
Implements VectSharp.Brush.
Definition at line 94 of file Brush.cs.
◆ operator SolidColourBrush()
| double VectSharp.SolidColourBrush.A |
|
get |
Alpha component of the colour. Range: [0, 1].
Definition at line 82 of file Brush.cs.
| double VectSharp.SolidColourBrush.B |
|
get |
Blue component of the colour. Range: [0, 1].
Definition at line 77 of file Brush.cs.
◆ Colour
| Colour VectSharp.SolidColourBrush.Colour |
|
get |
The colour of the brush.
Definition at line 62 of file Brush.cs.
| double VectSharp.SolidColourBrush.G |
|
get |
Green component of the colour. Range: [0, 1].
Definition at line 72 of file Brush.cs.
| double VectSharp.SolidColourBrush.R |
|
get |
Red component of the colour. Range: [0, 1].
Definition at line 67 of file Brush.cs.
The documentation for this class was generated from the following file: