radius property

double radius
final

The distance from center to the outer edge of the final stops entry, or final color, is determined by this radius as a percentage of the shortest side of the "paintbox" onto which to paint this gradient.

In a 100px x 200px paintbox, a radius of 1.0 will place the final stop at a distance 100px from the center.

See RadialGradient.radius.

Implementation

final double radius;