static func angularGradient (Gradient, center: UnitPoint , startAngle : Angle, endAngle : Angle) -> AngularGradient
An angular gradient, which applies the color function as the angle changes between the start and end angles, and anchored to a relative center point within the filled shape.
Available when
Self
is AngularGradient
.static func angularGradient (colors: [Color], center: UnitPoint , startAngle : Angle, endAngle : Angle) -> AngularGradient
An angular gradient defined by a collection of colors.
Available when
Self
is AngularGradient
.static func conicGradient (Gradient, center: UnitPoint , angle: Angle) -> AngularGradient
A conic gradient that completes a full turn, optionally starting from a given angle and anchored to a relative center point within the filled shape.
Available when
Self
is AngularGradient
.static func conicGradient (colors: [Color], center: UnitPoint , angle: Angle) -> AngularGradient
A conic gradient defined by a collection of colors that completes a full turn.
Available when
Self
is AngularGradient
.static func conicGradient (stops: [Gradient.Stop], center: UnitPoint , angle: Angle) -> AngularGradient
A conic gradient defined by a collection of color stops that completes a full turn.
Available when
Self
is AngularGradient
.