RadialGradient Properties

The RadialGradient type exposes the following members.

  Name Description
Public property 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).

Public property 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.

Public property Stops
List of GradientStop defining the color changes within the gradient.
Show: