Canvas.ClipPath 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| 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
與當前剪輯相交的路徑
傳回
若所得剪輯非空,則為真
- 屬性
備註
將當前剪輯與指定的路徑相交。
Java 文件 android.graphics.Canvas.clipPath(android.graphics.Path)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
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
剪輯如何被修改
傳回
若所得剪輯非空,則為真
- 屬性
備註
Java 文件 android.graphics.Canvas.clipPath(android.graphics.Path)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。