Table of Contents

Method DrawBeziers

Namespace
Alternet.Skia
Assembly
Alternet.UI.Common.dll

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

canvas SKCanvas

Drawing context.

pen SKPaint

SKPaint that determines the color, width, and style of the curve.

points ReadOnlySpan<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.