star(points:innerRadius:)
A star shape with alternating inner and outer points.
Declaration
static func star(points: Int, innerRadius: CGFloat) -> ShapeMarkup.ShapeParameters
- points:
The number of points on the star.
- innerRadius:
The radius of inner points relative to outer points, in unit coordinate space (0.0 to 1.0). A value of
0.5creates inner points halfway to the center.