Initializer

init(colors:startPoint:endPoint:)

Creates a linear gradient from a collection of colors.

Declaration 宣言

init(colors: [Color], startPoint: UnitPoint, endPoint: UnitPoint)

See Also 参照

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