Method SkCanvasDrawPointsNative
SkCanvasDrawPointsNative(nint, SKPointMode, nint, nint, nint)
Draws a series of points on the specified canvas using the given mode, points, and paint.
public static bool SkCanvasDrawPointsNative(nint canvas, SKPointMode mode, nint count, nint points, nint paint)
Parameters
canvasnintA pointer to the native canvas on which the points will be drawn. Cannot be null.
modeSKPointModeThe mode that determines how the points are drawn, such as individual points, lines, or polygonal paths.
countnintA pointer to the number of points to draw. Must be a valid, non-negative integer.
pointsnintA pointer to the array of points to be drawn. The array must contain at least the number of points specified by
count.paintnintA pointer to the paint object that defines the style and color used to draw the points. Cannot be null.
Returns
Remarks
This method is a wrapper for invoking the native SkiaSharp function to draw points on a canvas. Ensure that all pointers passed to this method are valid and properly initialized to avoid undefined behavior.