static func ellipticalGradient (Gradient, center: UnitPoint , startRadiusFraction : CGFloat, endRadiusFraction : CGFloat) -> EllipticalGradient
A radial gradient that draws an ellipse.
Available when
Self
is EllipticalGradient
.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
.