共用方式為


Canvas.ClipOutPath(Path) Method

Definition

Set the clip to the difference of the current clip and the specified 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

Parameters

path
Path

The path used in the difference operation

Returns

true if the resulting clip is non-empty

Attributes

Remarks

Set the clip to the difference of the current clip and the specified path.

Java documentation for android.graphics.Canvas.clipOutPath(android.graphics.Path).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to