UIColor.conicGradient()
Creates a conic gradient (sweep around center).
static conicGradient(
angle: number,
...stops: UIColor.Gradient.Stop[]
): UIColor.Gradient;
Parameters
- angle — The starting angle in degrees (e.g. 0 for from top).
- stops — Color stops (UIColor instance or
[UIColor, position 0-1]).
Return value
A UIColor.Gradient instance.
Related
class UIColor
A class that represents a single color value.
