Method DrawStar
DrawStar(SKCanvas, SKPoint, float, float, int, SKPaint)
Draws a star centered at the specified point.
public static void DrawStar(this SKCanvas canvas, SKPoint c, float outerRadius, float innerRadius, int points, SKPaint paint)
Parameters
canvasSKCanvasThe canvas to draw on.
cSKPointThe center point of the star.
outerRadiusfloatThe radius of the outer vertices.
innerRadiusfloatThe radius of the inner vertices.
pointsintThe number of star points (outer vertices).
paintSKPaintThe paint to use for drawing.
DrawStar(SKCanvas, float, float, float, float, int, SKPaint)
Draws a star centered at the specified coordinates.
public static void DrawStar(this SKCanvas canvas, float cx, float cy, float outerRadius, float innerRadius, int points, SKPaint paint)
Parameters
canvasSKCanvasThe canvas to draw on.
cxfloatThe x-coordinate of the center.
cyfloatThe y-coordinate of the center.
outerRadiusfloatThe radius of the outer vertices.
innerRadiusfloatThe radius of the inner vertices.
pointsintThe number of star points (outer vertices).
paintSKPaintThe paint to use for drawing.