SKMatrix.MapPoints Method
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.
MapPoints(SKPoint[]) |
Applies the matrix to an array of points. |
MapPoints(SKPoint[], SKPoint[]) |
Applies the matrix to an array of points. |
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
SkiaSharp 2.88.x and other versions
Product | Versions |
---|---|
SkiaSharp | 1.60.x, 1.68.x, 2.80.x, 2.88.x |
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
SkiaSharp 2.88.x and other versions
Product | Versions |
---|---|
SkiaSharp | 1.60.x, 1.68.x, 2.80.x, 2.88.x |
SkiaSharp feedback
SkiaSharp is an open source project. Select a link to provide feedback: