Table of Contents

Method ToSkiaSpan

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

ToSkiaSpan(PointD[])

Converts an array of PointD structures to a span of SKPoint structures.

public static Span<SKPoint> ToSkiaSpan(PointD[] points)

Parameters

points PointD[]

An array of PointD representing the points to convert.

Returns

Span<SKPoint>

A Span<T> of SKPoint representing the converted points.

Remarks

This method performs a memory reinterpretation of the input array without copying data.