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