RadialGradientRadiusType
Type used to specify radial gradient radius type
type RadialGradientRadiusType int
where values could be one of the following:
Value | Constant | Description |
---|---|---|
0 |
ClosestSideGradient |
The gradient's ending shape meets the side of the box closest to its center (for circles) or meets both the vertical and horizontal sides closest to the center (for ellipses) |
1 |
ClosestCornerGradient |
The gradient's ending shape is sized so that it exactly meets the closest corner of the box from its center |
2 |
FarthestSideGradient |
Similar to closest-side, except the ending shape is sized to meet the side of the box farthest from its center (or vertical and horizontal sides) |
3 |
FarthestCornerGradient |
The default value, the gradient's ending shape is sized so that it exactly meets the farthest corner of the box from its center |