편집

다음을 통해 공유


SKMatrix.MapVectors Method

Definition

Overloads

MapVectors(SKPoint[])

Applies the matrix to the array of vectors, ignoring translation, and returns the mapped results.

MapVectors(SKPoint[], SKPoint[])

Apply the to the array of vectors and return the mapped results..

MapVectors(SKPoint[])

Applies the matrix to the array of vectors, ignoring translation, and returns the mapped results.

public SkiaSharp.SKPoint[] MapVectors (SkiaSharp.SKPoint[] vectors);
public readonly SkiaSharp.SKPoint[] MapVectors (SkiaSharp.SKPoint[] vectors);

Parameters

vectors
SKPoint[]

The array of vectors to map.

Returns

Returns the new array allocated with the mapped results.

Remarks

Mapping vectors ignores the translation component in the matrix. Use MapPoints(SKPoint[]) to take the translation into consideration.

Applies to

MapVectors(SKPoint[], SKPoint[])

Apply the to the array of vectors and return the mapped results..

public void MapVectors (SkiaSharp.SKPoint[] result, SkiaSharp.SKPoint[] vectors);
public readonly void MapVectors (SkiaSharp.SKPoint[] result, SkiaSharp.SKPoint[] vectors);

Parameters

result
SKPoint[]

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

vectors
SKPoint[]

The array of vectors to map.

Remarks

Mapping vectors ignores the translation component in the matrix. Use MapPoints(SKPoint[], SKPoint[]) to take the translation into consideration.

Applies to