Initializer

init(stops:startPoint:endPoint:)

Creates a linear gradient from a collection of color stops.

Declaration 宣言

init(stops: [Gradient.Stop], startPoint: UnitPoint, endPoint: UnitPoint)

See Also 参照

Creating a Linear Gradient 線形勾配を作成する