RadialGradient Members
Include Protected Members
Include Inherited Members
The RadialGradient type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RadialGradient() |
Creates and initializes a new radial gradient with default values.
|
|
RadialGradient(Point, EllipseRadius) |
Creates and initializes a new radial gradient, with the specified center point and radius.
|
|
RadialGradient(Point, EllipseRadius, array<GradientStop[]) |
Creates and initializes a new radial gradient, with the specified center point, radius, and stops.
|
Methods
Name | Description | |
---|---|---|
Close |
Properties
Name | Description | |
---|---|---|
CenterPoint |
The center point of the gradient, to which a GradientStop with Offset equal to 0 would map.
Expressed in the unit coordinate space of the gradient image area, i.e., the top left corner of the gradient image is at (0.0), and the bottom right corner is at (1, 1). |
|
EllipseRadius |
The radius of the gradient. This is the distance from CenterPoint that a GradientStop with Offset equal to 1 would map to.
Expressed in the unit coordinate space of the gradient image area, i.e., the top left corner of the gradient image is at (0.0), and the bottom right corner is at (1, 1). To create a circle, specify a value for only one dimension and set the other to 0. |
|
Stops |
List of GradientStop defining the color changes within the gradient.
|