Partager via


View.GetClipBounds(Rect) Method

Definition

Populates an output rectangle with the clip bounds of the view, returning true if successful or false if the view's clip bounds are null.

[Android.Runtime.Register("getClipBounds", "(Landroid/graphics/Rect;)Z", "GetGetClipBounds_Landroid_graphics_Rect_Handler", ApiSince=23)]
public virtual bool GetClipBounds (Android.Graphics.Rect? outRect);
[<Android.Runtime.Register("getClipBounds", "(Landroid/graphics/Rect;)Z", "GetGetClipBounds_Landroid_graphics_Rect_Handler", ApiSince=23)>]
abstract member GetClipBounds : Android.Graphics.Rect -> bool
override this.GetClipBounds : Android.Graphics.Rect -> bool

Parameters

outRect
Rect

rectangle in which to place the clip bounds of the view

Returns

true if successful or false if the view's clip bounds are null

Attributes

Remarks

Populates an output rectangle with the clip bounds of the view, returning true if successful or false if the view's clip bounds are null.

Java documentation for android.view.View.getClipBounds(android.graphics.Rect).

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