Method CreateRegularStarPath
CreateRegularStarPath(float, float, int, SKPathDirection)
Creates a regular star path centered at the origin with alternating outer and inner vertices.
public static SKPath CreateRegularStarPath(float outerRadius, float innerRadius, int points, SKPathDirection direction = SKPathDirection.Clockwise)
Parameters
outerRadiusfloatThe radius of the outer vertices.
innerRadiusfloatThe radius of the inner vertices.
pointsintThe number of star points (outer vertices).
directionSKPathDirectionThe winding direction of the path.