Canvas.ClipPath 方法

定义

重载

ClipPath(Path)

将当前剪辑与指定的路径相交。

ClipPath(Path, Region+Op)

将当前剪辑与指定的路径相交。

ClipPath(Path)

将当前剪辑与指定的路径相交。

[Android.Runtime.Register("clipPath", "(Landroid/graphics/Path;)Z", "GetClipPath_Landroid_graphics_Path_Handler")]
public virtual bool ClipPath (Android.Graphics.Path path);
[<Android.Runtime.Register("clipPath", "(Landroid/graphics/Path;)Z", "GetClipPath_Landroid_graphics_Path_Handler")>]
abstract member ClipPath : Android.Graphics.Path -> bool
override this.ClipPath : Android.Graphics.Path -> bool

参数

path
Path

与当前剪辑相交的路径

返回

如果生成的剪辑为非空,则为 true

属性

注解

将当前剪辑与指定的路径相交。

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

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

适用于

ClipPath(Path, Region+Op)

将当前剪辑与指定的路径相交。

[Android.Runtime.Register("clipPath", "(Landroid/graphics/Path;Landroid/graphics/Region$Op;)Z", "GetClipPath_Landroid_graphics_Path_Landroid_graphics_Region_Op_Handler")]
public virtual bool ClipPath (Android.Graphics.Path path, Android.Graphics.Region.Op op);
[<Android.Runtime.Register("clipPath", "(Landroid/graphics/Path;Landroid/graphics/Region$Op;)Z", "GetClipPath_Landroid_graphics_Path_Landroid_graphics_Region_Op_Handler")>]
abstract member ClipPath : Android.Graphics.Path * Android.Graphics.Region.Op -> bool
override this.ClipPath : Android.Graphics.Path * Android.Graphics.Region.Op -> bool

参数

path
Path

与当前剪辑相交的路径

op
Region.Op

如何修改剪辑

返回

如果生成的剪辑为非空,则为 true

属性

注解

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

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

适用于