語言

Matrix.MapVectors 方法

定義

多載

名稱 Description
MapVectors(Single[])

將此矩陣套用到二維向量陣列,並將轉換後的向量寫回陣列。

MapVectors(Single[], Single[])

將此矩陣應用於 src 指定的二維向量陣列,並將轉換後的向量寫入 dst 指定的向量陣列中。

MapVectors(Single[], Int32, Single[], Int32, Int32)

將此矩陣應用於 src 指定的二維向量陣列,並將轉換後的向量寫入 dst 指定的向量陣列中。

MapVectors(Single[])

將此矩陣套用到二維向量陣列,並將轉換後的向量寫回陣列。

[Android.Runtime.Register("mapVectors", "([F)V", "GetMapVectors_arrayFHandler")]
public virtual void MapVectors(float[]? vecs);
[<Android.Runtime.Register("mapVectors", "([F)V", "GetMapVectors_arrayFHandler")>]
abstract member MapVectors : single[] -> unit
override this.MapVectors : single[] -> unit

參數

vecs
Single[]

要轉換的向量陣列 [x0, y0, x1, y1, ...]。

屬性

備註

將此矩陣套用到二維向量陣列,並將轉換後的向量寫回陣列。 注意:此方法不應用與矩陣相關的平移。 如果你想套用翻譯,就用 Matrix#mapPoints(float[]) 這個。

Java 文件 android.graphics.Matrix.mapVectors(float[])。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

MapVectors(Single[], Single[])

將此矩陣應用於 src 指定的二維向量陣列,並將轉換後的向量寫入 dst 指定的向量陣列中。

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

參數

dst
Single[]

dst 向量陣列(x,y 對)

src
Single[]

src 向量陣列(x,y 對)

屬性

備註

將此矩陣應用於 src 指定的二維向量陣列,並將轉換後的向量寫入 dst 指定的向量陣列中。 這兩個陣列以浮點數 [x, y] 表示它們的「向量」。 注意:此方法不應用與矩陣相關的平移。 如果你想套用翻譯,就用 Matrix#mapPoints(float[], float[]) 這個。

Java 文件 android.graphics.Matrix.mapVectors(float[], float[])。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

MapVectors(Single[], Int32, Single[], Int32, Int32)

將此矩陣應用於 src 指定的二維向量陣列,並將轉換後的向量寫入 dst 指定的向量陣列中。

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

參數

dst
Single[]

dst 向量陣列(x,y 對)

dstIndex
Int32

第一對 [x,y] 的 dst 浮點數的索引

src
Single[]

src 向量陣列(x,y 對)

srcIndex
Int32

第一對 [x,y] 的索引浮點數

vectorCount
Int32

要轉換的向量數量(x,y 對)

屬性

備註

將此矩陣應用於 src 指定的二維向量陣列,並將轉換後的向量寫入 dst 指定的向量陣列中。 這兩個陣列以浮點數 [x, y] 表示它們的「向量」。 注意:此方法不應用與矩陣相關的平移。 如果你想套用翻譯,就用 Matrix#mapPoints(float[], int, float[], int, int) 這個。

Java 文件 android.graphics.Matrix.mapVectors(float[], int, float[], int, int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於