SKMatrix.MapPoints Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.