An array of colors for the gradient. Colors transition from the center outward.
The starting radius in points.
The ending radius in points.
Support
Usage
As a standalone view
Multi-color gradient
Off-center gradient
Custom radius
As a fill
Vignette effect
Notes
- The elliptical shape stretches to fill its container. In a non-square frame the gradient appears as an ellipse rather than a circle.
- Differs from RadialGradient in that it always fills elliptically rather than circularly.
See Also
- RadialGradient — circular gradient
- LinearGradient — line-based gradient
- UnitPoint — coordinate system for center point