Share via


Outline.CanClip Method

Definition

Returns whether the outline can be used to clip a View.

[Android.Runtime.Register("canClip", "()Z", "")]
public bool CanClip ();
[<Android.Runtime.Register("canClip", "()Z", "")>]
member this.CanClip : unit -> bool

Returns

Attributes

Remarks

Returns whether the outline can be used to clip a View.

As of API 33, all Outline shapes support clipping. Prior to API 33, only Outlines that could be represented as a rectangle, circle, or round rect supported clipping.

Java documentation for android.graphics.Outline.canClip().

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