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 radialGradient (Gradient, center: UnitPoint , startRadius : CGFloat, endRadius : CGFloat) -> RadialGradient
Self
is RadialGradient
.static func radialGradient (colors: [Color], center: UnitPoint , startRadius : CGFloat, endRadius : CGFloat) -> RadialGradient
Self
is RadialGradient
.static func radialGradient (stops: [Gradient.Stop], center: UnitPoint , startRadius : CGFloat, endRadius : CGFloat) -> RadialGradient
Self
is RadialGradient
.