Skip to main content
Color[]
required
An array of colors for the gradient. Colors transition evenly around the sweep.
UnitPoint
The center point of the gradient. See UnitPoint. Defaults to "center".
number
The start angle in degrees. Defaults to 0.
number
The end angle in degrees. Defaults to 360.

Support

Usage

As a standalone view

Full rainbow sweep

Partial sweep

Off-center gradient

As a fill

As a foreground style

See Also