语言

Canvas.ClipOutPath(Path) 方法

定义

将剪辑设置为当前剪辑和指定路径的差异。

[Android.Runtime.Register("clipOutPath", "(Landroid/graphics/Path;)Z", "GetClipOutPath_Landroid_graphics_Path_Handler", ApiSince=26)]
public virtual bool ClipOutPath(Android.Graphics.Path path);
[<Android.Runtime.Register("clipOutPath", "(Landroid/graphics/Path;)Z", "GetClipOutPath_Landroid_graphics_Path_Handler", ApiSince=26)>]
abstract member ClipOutPath : Android.Graphics.Path -> bool
override this.ClipOutPath : Android.Graphics.Path -> bool

参数

path
Path

差异操作中使用的路径

返回

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

特性

注解

将剪辑设置为当前剪辑和指定路径的差异。

Java文档android.graphics.Canvas.clipOutPath(android.graphics.Path)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于