ViewGroup.OffsetDescendantRectToMyCoords(View, Rect) Method

Definition

Offset a rectangle that is in a descendant's coordinate space into our coordinate space.

[Android.Runtime.Register("offsetDescendantRectToMyCoords", "(Landroid/view/View;Landroid/graphics/Rect;)V", "")]
public void OffsetDescendantRectToMyCoords (Android.Views.View? descendant, Android.Graphics.Rect? rect);
[<Android.Runtime.Register("offsetDescendantRectToMyCoords", "(Landroid/view/View;Landroid/graphics/Rect;)V", "")>]
member this.OffsetDescendantRectToMyCoords : Android.Views.View * Android.Graphics.Rect -> unit

Parameters

descendant
View

A descendant of this view

rect
Rect

A rectangle defined in descendant's coordinate space.

Attributes

Remarks

Offset a rectangle that is in a descendant's coordinate space into our coordinate space.

Java documentation for android.view.ViewGroup.offsetDescendantRectToMyCoords(android.view.View, 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