SKMatrix.MapPoints Method

Definition

Overloads

MapPoints(SKPoint[])

Applies the matrix to an array of points.

MapPoints(SKPoint[], SKPoint[])

Applies the matrix to an array of points.

MapPoints(SKPoint[])

Applies the matrix to an array of points.

public SkiaSharp.SKPoint[] MapPoints (SkiaSharp.SKPoint[] points);
public readonly SkiaSharp.SKPoint[] MapPoints (SkiaSharp.SKPoint[] points);

Parameters

points
SKPoint[]

The array of points to be mapped.

Returns

Returns the new array allocated with the mapped results.

Remarks

Mapping points uses all components of the matrix. Use MapVectors(SKPoint[]) to ignore the translation.

Applies to

MapPoints(SKPoint[], SKPoint[])

Applies the matrix to an array of points.

public void MapPoints (SkiaSharp.SKPoint[] result, SkiaSharp.SKPoint[] points);
public readonly void MapPoints (SkiaSharp.SKPoint[] result, SkiaSharp.SKPoint[] points);

Parameters

result
SKPoint[]

The array where the mapped results will be stored (needs to have the same number of elements of the points array).

points
SKPoint[]

The array of points to be mapped.

Remarks

Mapping points uses all components of the matrix. Use MapVectors(SKPoint[], SKPoint[]) to ignore the translation.

Applies to