Represents a brush painting with a radial gradient.
More...
|
| RadialGradientBrush (Point focalPoint, Point centre, double radius, params GradientStop[] gradientStops) |
| Creates a new RadialGradientBrush with the specified focal point, centre, radius and gradient stops. More...
|
|
| RadialGradientBrush (Point focalPoint, Point centre, double radius, IEnumerable< GradientStop > gradientStops) |
| Creates a new RadialGradientBrush with the specified focal point, centre, radius and gradient stops. 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...
|
|
Represents a brush painting with a radial gradient.
Definition at line 416 of file Brush.cs.
◆ RadialGradientBrush() [1/2]
VectSharp.RadialGradientBrush.RadialGradientBrush |
( |
Point |
focalPoint, |
|
|
Point |
centre, |
|
|
double |
radius, |
|
|
params GradientStop[] |
gradientStops |
|
) |
| |
Creates a new RadialGradientBrush with the specified focal point, centre, radius and gradient stops.
- Parameters
-
focalPoint | The focal point of the gradient. Note that this is relative to the current coordinate system when the gradient is used. |
centre | The centre of the gradient. Note that this is relative to the current coordinate system when the gradient is used. |
radius | The radius of the gradient. Note that this is relative to the current coordinate system when the gradient is used. |
gradientStops | The colour stops in the gradient. |
Definition at line 440 of file Brush.cs.
◆ RadialGradientBrush() [2/2]
VectSharp.RadialGradientBrush.RadialGradientBrush |
( |
Point |
focalPoint, |
|
|
Point |
centre, |
|
|
double |
radius, |
|
|
IEnumerable< GradientStop > |
gradientStops |
|
) |
| |
Creates a new RadialGradientBrush with the specified focal point, centre, radius and gradient stops.
- Parameters
-
focalPoint | The focal point of the gradient. Note that this is relative to the current coordinate system when the gradient is used. |
centre | The centre of the gradient. Note that this is relative to the current coordinate system when the gradient is used. |
radius | The radius of the gradient. Note that this is relative to the current coordinate system when the gradient is used. |
gradientStops | The colour stops in the gradient. |
Definition at line 479 of file Brush.cs.
◆ MultiplyOpacity()
override Brush VectSharp.RadialGradientBrush.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 512 of file Brush.cs.
◆ Centre
Point VectSharp.RadialGradientBrush.Centre |
|
get |
Represents the centre of the gradient.
Definition at line 426 of file Brush.cs.
◆ FocalPoint
Point VectSharp.RadialGradientBrush.FocalPoint |
|
get |
The focal point of the gradient (i.e. the point within the circle where the gradient starts).
Definition at line 421 of file Brush.cs.
◆ Radius
double VectSharp.RadialGradientBrush.Radius |
|
get |
The radius of the gradient.
Definition at line 431 of file Brush.cs.
The documentation for this class was generated from the following file: