Udostępnij za pośrednictwem


Matrix.MapPoints Method

Definition

Overloads

MapPoints(Single[])

Apply this matrix to the array of 2D points, and write the transformed points back into the array

MapPoints(Single[], Single[])

Apply this matrix to the array of 2D points specified by src, and write the transformed points into the array of points specified by dst.

MapPoints(Single[], Int32, Single[], Int32, Int32)

Apply this matrix to the array of 2D points specified by src, and write the transformed points into the array of points specified by dst.

MapPoints(Single[])

Apply this matrix to the array of 2D points, and write the transformed points back into the array

[Android.Runtime.Register("mapPoints", "([F)V", "GetMapPoints_arrayFHandler")]
public virtual void MapPoints (float[]? pts);
[<Android.Runtime.Register("mapPoints", "([F)V", "GetMapPoints_arrayFHandler")>]
abstract member MapPoints : single[] -> unit
override this.MapPoints : single[] -> unit

Parameters

pts
Single[]

The array [x0, y0, x1, y1, ...] of points to transform.

Attributes

Remarks

Apply this matrix to the array of 2D points, and write the transformed points back into the array

Java documentation for android.graphics.Matrix.mapPoints(float[]).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

MapPoints(Single[], Single[])

Apply this matrix to the array of 2D points specified by src, and write the transformed points into the array of points specified by dst.

[Android.Runtime.Register("mapPoints", "([F[F)V", "GetMapPoints_arrayFarrayFHandler")]
public virtual void MapPoints (float[]? dst, float[]? src);
[<Android.Runtime.Register("mapPoints", "([F[F)V", "GetMapPoints_arrayFarrayFHandler")>]
abstract member MapPoints : single[] * single[] -> unit
override this.MapPoints : single[] * single[] -> unit

Parameters

dst
Single[]

The array of dst points (x,y pairs)

src
Single[]

The array of src points (x,y pairs)

Attributes

Remarks

Apply this matrix to the array of 2D points specified by src, and write the transformed points into the array of points specified by dst. The two arrays represent their "points" as pairs of floats [x, y].

Java documentation for android.graphics.Matrix.mapPoints(float[], float[]).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

MapPoints(Single[], Int32, Single[], Int32, Int32)

Apply this matrix to the array of 2D points specified by src, and write the transformed points into the array of points specified by dst.

[Android.Runtime.Register("mapPoints", "([FI[FII)V", "GetMapPoints_arrayFIarrayFIIHandler")]
public virtual void MapPoints (float[]? dst, int dstIndex, float[]? src, int srcIndex, int pointCount);
[<Android.Runtime.Register("mapPoints", "([FI[FII)V", "GetMapPoints_arrayFIarrayFIIHandler")>]
abstract member MapPoints : single[] * int * single[] * int * int -> unit
override this.MapPoints : single[] * int * single[] * int * int -> unit

Parameters

dst
Single[]

The array of dst points (x,y pairs)

dstIndex
Int32

The index of the first [x,y] pair of dst floats

src
Single[]

The array of src points (x,y pairs)

srcIndex
Int32

The index of the first [x,y] pair of src floats

pointCount
Int32

The number of points (x,y pairs) to transform

Attributes

Remarks

Apply this matrix to the array of 2D points specified by src, and write the transformed points into the array of points specified by dst. The two arrays represent their "points" as pairs of floats [x, y].

Java documentation for android.graphics.Matrix.mapPoints(float[], int, float[], int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to