init(stops:center:startRadius:endRadius:)
Creates a radial gradient from a collection of color stops.
Declaration
nonisolated init(stops: [Gradient.Stop], center: UnitPoint, startRadius: CGFloat, endRadius: CGFloat)Creates a radial gradient from a collection of color stops.
nonisolated init(stops: [Gradient.Stop], center: UnitPoint, startRadius: CGFloat, endRadius: CGFloat)