Compartir a través de


ViewGroup.OffsetRectIntoDescendantCoords(View, Rect) Method

Definition

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

[Android.Runtime.Register("offsetRectIntoDescendantCoords", "(Landroid/view/View;Landroid/graphics/Rect;)V", "")]
public void OffsetRectIntoDescendantCoords (Android.Views.View? descendant, Android.Graphics.Rect? rect);
[<Android.Runtime.Register("offsetRectIntoDescendantCoords", "(Landroid/view/View;Landroid/graphics/Rect;)V", "")>]
member this.OffsetRectIntoDescendantCoords : 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 our coordinate space into an ancestor's coordinate space.

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