Sdílet prostřednictvím


View.GetHitRect(Rect) Method

Definition

Hit rectangle in parent's coordinates

[Android.Runtime.Register("getHitRect", "(Landroid/graphics/Rect;)V", "GetGetHitRect_Landroid_graphics_Rect_Handler")]
public virtual void GetHitRect (Android.Graphics.Rect? outRect);
[<Android.Runtime.Register("getHitRect", "(Landroid/graphics/Rect;)V", "GetGetHitRect_Landroid_graphics_Rect_Handler")>]
abstract member GetHitRect : Android.Graphics.Rect -> unit
override this.GetHitRect : Android.Graphics.Rect -> unit

Parameters

outRect
Rect

The hit rectangle of the view.

Attributes

Remarks

Hit rectangle in parent's coordinates

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