static func radialGradient (colors: [Color], center: UnitPoint , startRadius : CGFloat, endRadius : CGFloat) -> RadialGradient
A radial gradient defined by a collection of colors.
Available when
Self
is RadialGradient
.static func radialGradient (stops: [Gradient.Stop], center: UnitPoint , startRadius : CGFloat, endRadius : CGFloat) -> RadialGradient
A radial gradient defined by a collection of color stops.
Available when
Self
is RadialGradient
.