static func ellipticalGradient (colors: [Color], center: UnitPoint , startRadiusFraction : CGFloat, endRadiusFraction : CGFloat) -> EllipticalGradient
A radial gradient that draws an ellipse defined by a collection of colors.
Available when
Self
is EllipticalGradient
.static func ellipticalGradient (stops: [Gradient.Stop], center: UnitPoint , startRadiusFraction : CGFloat, endRadiusFraction : CGFloat) -> EllipticalGradient
A radial gradient that draws an ellipse defined by a collection of color stops.
Available when
Self
is EllipticalGradient
.