语言

Path.Transform 方法

定义

重载

名称 说明
Transform(Matrix)

按矩阵转换此路径中的点。

Transform(Matrix, Path)

按矩阵转换此路径中的点,并将答案写入 dst。

Transform(Matrix)

按矩阵转换此路径中的点。

[Android.Runtime.Register("transform", "(Landroid/graphics/Matrix;)V", "GetTransform_Landroid_graphics_Matrix_Handler")]
public virtual void Transform(Android.Graphics.Matrix matrix);
[<Android.Runtime.Register("transform", "(Landroid/graphics/Matrix;)V", "GetTransform_Landroid_graphics_Matrix_Handler")>]
abstract member Transform : Android.Graphics.Matrix -> unit
override this.Transform : Android.Graphics.Matrix -> unit

参数

matrix
Matrix

要应用于路径的矩阵

特性

注解

按矩阵转换此路径中的点。

Java文档android.graphics.Path.transform(android.graphics.Matrix)。

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

Transform(Matrix, Path)

按矩阵转换此路径中的点,并将答案写入 dst。

[Android.Runtime.Register("transform", "(Landroid/graphics/Matrix;Landroid/graphics/Path;)V", "GetTransform_Landroid_graphics_Matrix_Landroid_graphics_Path_Handler")]
public virtual void Transform(Android.Graphics.Matrix matrix, Android.Graphics.Path? dst);
[<Android.Runtime.Register("transform", "(Landroid/graphics/Matrix;Landroid/graphics/Path;)V", "GetTransform_Landroid_graphics_Matrix_Landroid_graphics_Path_Handler")>]
abstract member Transform : Android.Graphics.Matrix * Android.Graphics.Path -> unit
override this.Transform : Android.Graphics.Matrix * Android.Graphics.Path -> unit

参数

matrix
Matrix

要应用于路径的矩阵

dst
Path

转换的路径在此处编写。 如果 dst 为 null,则修改原始路径

特性

注解

按矩阵转换此路径中的点,并将答案写入 dst。 如果 dst 为 null,则修改原始路径。

Java文档android.graphics.Path.transform(android.graphics.Matrix, android.graphics.Path)。

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于