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

Syntax

[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)

Parameters

r
If true is returned, r holds the global coordinates of the visible portion of this view.
globalOffset
If true is returned, globalOffset holds the dx,dy between this view and its root. globalOffet may be null.

Returns

Documentation for this section has not yet been entered.

Remarks

If some part of this view is not clipped by any of its parents, then return that area in r in global (root) coordinates. To convert r to local coordinates (without taking possible View rotations into account), offset it by -globalOffset (e.g. r.offset(-globalOffset.x, -globalOffset.y)). If the view is completely clipped or translated out, return false.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1