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.
|
|
Represents a brush painting with a radial gradient.
Definition at line 367 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 391 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 430 of file Brush.cs.
◆ Centre
Point VectSharp.RadialGradientBrush.Centre |
|
get |
Represents the centre of the gradient.
Definition at line 377 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 372 of file Brush.cs.
◆ Radius
double VectSharp.RadialGradientBrush.Radius |
|
get |
The radius of the gradient.
Definition at line 382 of file Brush.cs.
The documentation for this class was generated from the following file: