Method DrawBeziers
DrawBeziers(SKCanvas, SKPaint, ReadOnlySpan<SKPoint>)
Draws a series of Bezier splines from an array of SKPoint structures.
public static void DrawBeziers(this SKCanvas canvas, SKPaint pen, ReadOnlySpan<SKPoint> points)
Parameters
canvasSKCanvasDrawing context.
penSKPaintSKPaint that determines the color, width, and style of the curve.
pointsReadOnlySpan<SKPoint>Array of SKPoint structures that represent the points that determine the curve. The number of points in the array should be a multiple of 3 plus 1, such as 4, 7, or 10.