Method ToSkiaArray
ToSkiaArray(PointD[])
public static SKPoint[] ToSkiaArray(PointD[] source)
Parameters
Returns
Remarks
This method performs a memory-efficient conversion by casting the elements of the input array. The resulting array contains the same data as the input, but represented as SKPoint structures.
ToSkiaArray(ReadOnlySpan<PointD>)
public static SKPoint[] ToSkiaArray(ReadOnlySpan<PointD> source)
Parameters
sourceReadOnlySpan<PointD>The read-only span of PointD to convert.
Returns
Remarks
This method performs a memory cast to convert the elements of the span. The resulting array is a copy of the data, and modifications to the returned array will not affect the original span.