Matrix.MapVectors 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| MapVectors(Single[]) |
将此矩阵应用于 2D 向量数组,并将转换后的向量写回到数组中。 |
| MapVectors(Single[], Single[]) |
将此矩阵应用于 src 指定的 2D 向量数组,并将转换后的向量写入由 dst 指定的向量数组。 |
| MapVectors(Single[], Int32, Single[], Int32, Int32) |
将此矩阵应用于 src 指定的 2D 向量数组,并将转换后的向量写入由 dst 指定的向量数组。 |
MapVectors(Single[])
将此矩阵应用于 2D 向量数组,并将转换后的向量写回到数组中。
[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, ...]。
- 特性
注解
将此矩阵应用于 2D 向量数组,并将转换后的向量写回到数组中。 注意:此方法不应用与矩阵关联的翻译。 如果要应用翻译,请使用 Matrix#mapPoints(float[]) 。
Java文档android.graphics.Matrix.mapVectors(float[])。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
MapVectors(Single[], Single[])
将此矩阵应用于 src 指定的 2D 向量数组,并将转换后的向量写入由 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 指定的 2D 向量数组,并将转换后的向量写入由 dst 指定的向量数组。 这两个数组将其“向量”表示为浮点数 [x, y] 对。 注意:此方法不应用与矩阵关联的翻译。 如果要应用翻译,请使用 Matrix#mapPoints(float[], float[]) 。
Java文档android.graphics.Matrix.mapVectors(float[], float[])。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
MapVectors(Single[], Int32, Single[], Int32, Int32)
将此矩阵应用于 src 指定的 2D 向量数组,并将转换后的向量写入由 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
第一对 dst 浮点数的第一对 [x,y] 的索引
- src
- Single[]
src 向量数组(x,y 对)
- srcIndex
- Int32
src 浮点数的第一对 [x,y] 对的索引
- vectorCount
- Int32
要转换的矢量数(x,y 对)
- 特性
注解
将此矩阵应用于 src 指定的 2D 向量数组,并将转换后的向量写入由 dst 指定的向量数组。 这两个数组将其“向量”表示为浮点数 [x, y] 对。 注意:此方法不应用与矩阵关联的翻译。 如果要应用翻译,请使用 Matrix#mapPoints(float[], int, float[], int, int) 。
Java文档android.graphics.Matrix.mapVectors(float[], int, float[], int, int)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。