An array of colors for the gradient. Colors transition from the center outward.
The starting radius in points. The first color fills from the center to this radius.
The ending radius in points. The last color fills from this radius outward.
Support
Usage
As a standalone view
Multi-color gradient
Off-center gradient
Custom radius
As a fill
As a background (spotlight effect)
See Also
- LinearGradient — line-based gradient
- EllipticalGradient — elliptical variant
- UnitPoint — coordinate system for center point