init(stops:startPoint:endPoint:)
Creates a linear gradient from a collection of color stops.
Declaration
init(stops: [Gradient.Stop], startPoint: UnitPoint, endPoint: UnitPoint)Creates a linear gradient from a collection of color stops.
init(stops: [Gradient.Stop], startPoint: UnitPoint, endPoint: UnitPoint)