init(colors:startPoint:endPoint:)
Creates a linear gradient from a collection of colors.
Declaration
@export(implementation) nonisolated init(colors: [Color], startPoint: UnitPoint, endPoint: UnitPoint)Creates a linear gradient from a collection of colors.
@export(implementation) nonisolated init(colors: [Color], startPoint: UnitPoint, endPoint: UnitPoint)