Initializer

init(colors:center:angle:)

Creates a conic gradient from a collection of colors that completes a full turn.

Declaration 宣言

init(colors: [Color], center: UnitPoint, angle: Angle = .zero)

See Also 参照

Creating a Full Rotation Angular Gradient