Path.AddPath 方法

定义

重载

AddPath(Path)

将 src 的副本添加到路径

AddPath(Path, Matrix)

将 src 的副本添加到路径,按矩阵转换

AddPath(Path, Single, Single)

将 src 的副本添加到路径,偏移量(dx,dy)

AddPath(Path)

将 src 的副本添加到路径

[Android.Runtime.Register("addPath", "(Landroid/graphics/Path;)V", "GetAddPath_Landroid_graphics_Path_Handler")]
public virtual void AddPath (Android.Graphics.Path src);
[<Android.Runtime.Register("addPath", "(Landroid/graphics/Path;)V", "GetAddPath_Landroid_graphics_Path_Handler")>]
abstract member AddPath : Android.Graphics.Path -> unit
override this.AddPath : Android.Graphics.Path -> unit

参数

src
Path

追加到当前路径的路径

属性

注解

将 src 的副本添加到路径

适用于 . 的 android.graphics.Path.addPath(android.graphics.Path)Java 文档

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

适用于

AddPath(Path, Matrix)

将 src 的副本添加到路径,按矩阵转换

[Android.Runtime.Register("addPath", "(Landroid/graphics/Path;Landroid/graphics/Matrix;)V", "GetAddPath_Landroid_graphics_Path_Landroid_graphics_Matrix_Handler")]
public virtual void AddPath (Android.Graphics.Path src, Android.Graphics.Matrix matrix);
[<Android.Runtime.Register("addPath", "(Landroid/graphics/Path;Landroid/graphics/Matrix;)V", "GetAddPath_Landroid_graphics_Path_Landroid_graphics_Matrix_Handler")>]
abstract member AddPath : Android.Graphics.Path * Android.Graphics.Matrix -> unit
override this.AddPath : Android.Graphics.Path * Android.Graphics.Matrix -> unit

参数

src
Path

要添加为新轮廓的路径

matrix
Matrix
属性

注解

将 src 的副本添加到路径,按矩阵转换

适用于 . 的 android.graphics.Path.addPath(android.graphics.Path, android.graphics.Matrix)Java 文档

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

适用于

AddPath(Path, Single, Single)

将 src 的副本添加到路径,偏移量(dx,dy)

[Android.Runtime.Register("addPath", "(Landroid/graphics/Path;FF)V", "GetAddPath_Landroid_graphics_Path_FFHandler")]
public virtual void AddPath (Android.Graphics.Path src, float dx, float dy);
[<Android.Runtime.Register("addPath", "(Landroid/graphics/Path;FF)V", "GetAddPath_Landroid_graphics_Path_FFHandler")>]
abstract member AddPath : Android.Graphics.Path * single * single -> unit
override this.AddPath : Android.Graphics.Path * single * single -> unit

参数

src
Path

要添加为新轮廓的路径

dx
Single

在 X 中添加路径时转换路径的量

dy
Single
属性

注解

将 src 的副本添加到路径,偏移量(dx,dy)

适用于 . 的 android.graphics.Path.addPath(android.graphics.Path, float, float)Java 文档

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

适用于