Dela via


Canvas.ClipPath Method

Definition

Overloads

ClipPath(Path)

Intersect the current clip with the specified path.

ClipPath(Path, Region+Op)

Intersect the current clip with the specified path.

ClipPath(Path)

Intersect the current clip with the specified 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

Parameters

path
Path

The path to intersect with the current clip

Returns

true if the resulting clip is non-empty

Attributes

Remarks

Intersect the current clip with the specified path.

Java documentation for android.graphics.Canvas.clipPath(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

ClipPath(Path, Region+Op)

Intersect the current clip with the specified path.

[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

Parameters

path
Path

The path to intersect with the current clip

op
Region.Op

How the clip is modified

Returns

true if the resulting clip is non-empty

Attributes

Remarks

Java documentation for android.graphics.Canvas.clipPath(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