func `in`(CGRect) -> some ShapeStyle
Maps a shape style’s unit-space coordinates to the absolute coordinates of a given rectangle.
Technology
func `in`(CGRect) -> some ShapeStyle
static func linearGradient (Gradient, startPoint : UnitPoint , endPoint : UnitPoint ) -> LinearGradient
Self
is LinearGradient
.static func linearGradient (colors: [Color], startPoint : UnitPoint , endPoint : UnitPoint ) -> LinearGradient
Self
is LinearGradient
.static func linearGradient (stops: [Gradient.Stop], startPoint : UnitPoint , endPoint : UnitPoint ) -> LinearGradient
Self
is LinearGradient
.