Läs på engelska

Dela 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.

C#
[Android.Runtime.Register("getClipBounds", "(Landroid/graphics/Rect;)Z", "GetGetClipBounds_Landroid_graphics_Rect_Handler", ApiSince=23)]
public virtual bool GetClipBounds (Android.Graphics.Rect? outRect);

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

Produkt Versioner
.NET for Android .NET for Android API 34, .NET for Android API 35