共用方式為


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 屬性授權中所述的詞彙使用。

適用於