View.ClipToOutline Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns whether the Outline should be used to clip the contents of the View. -or- Sets whether the View's Outline should be used to clip the contents of the View.
public bool ClipToOutline { [Android.Runtime.Register("getClipToOutline", "()Z", "")] get; [Android.Runtime.Register("setClipToOutline", "(Z)V", "GetSetClipToOutline_ZHandler")] set; }
[<get: Android.Runtime.Register("getClipToOutline", "()Z", "")>]
[<set: Android.Runtime.Register("setClipToOutline", "(Z)V", "GetSetClipToOutline_ZHandler")>]
member this.ClipToOutline : bool with get, set
Property Value
- Attributes
Remarks
Property getter documentation:
Returns whether the Outline should be used to clip the contents of the View.
Note that this flag will only be respected if the View's Outline returns true from Outline#canClip()
.
Java documentation for android.view.View.getClipToOutline()
.
Property setter documentation:
Sets whether the View's Outline should be used to clip the contents of the View.
Only a single non-rectangular clip can be applied on a View at any time. Circular clips from a ViewAnimationUtils#createCircularReveal(View, int, int, float, float) circular reveal
animation take priority over Outline clipping, and child Outline clipping takes priority over Outline clipping done by a parent.
Note that this flag will only be respected if the View's Outline returns true from Outline#canClip()
.
Java documentation for android.view.View.setClipToOutline(boolean)
.
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.