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