View.GetGlobalVisibleRect View.GetGlobalVisibleRect Method

Definition

Overloads

GetGlobalVisibleRect(Rect) GetGlobalVisibleRect(Rect)
GetGlobalVisibleRect(Rect, Point) GetGlobalVisibleRect(Rect, Point)

If some part of this view is not clipped by any of its parents, then return that area in r in global (root) coordinates.

GetGlobalVisibleRect(Rect) GetGlobalVisibleRect(Rect)

[Android.Runtime.Register("getGlobalVisibleRect", "(Landroid/graphics/Rect;)Z", "")]
public bool GetGlobalVisibleRect (Android.Graphics.Rect r);
member this.GetGlobalVisibleRect : Android.Graphics.Rect -> bool

Parameters

Returns

Remarks

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.

GetGlobalVisibleRect(Rect, Point) GetGlobalVisibleRect(Rect, Point)

If some part of this view is not clipped by any of its parents, then return that area in r in global (root) coordinates.

[Android.Runtime.Register("getGlobalVisibleRect", "(Landroid/graphics/Rect;Landroid/graphics/Point;)Z", "GetGetGlobalVisibleRect_Landroid_graphics_Rect_Landroid_graphics_Point_Handler")]
public virtual bool GetGlobalVisibleRect (Android.Graphics.Rect r, Android.Graphics.Point globalOffset);
abstract member GetGlobalVisibleRect : Android.Graphics.Rect * Android.Graphics.Point -> bool
override this.GetGlobalVisibleRect : Android.Graphics.Rect * Android.Graphics.Point -> bool

Parameters

r
Rect Rect

If true is returned, r holds the global coordinates of the visible portion of this view.

globalOffset
Point Point

If true is returned, globalOffset holds the dx,dy between this view and its root. globalOffet may be null.

Returns

Remarks

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