Partager via


Drawable.GetHotspotBounds(Rect) Method

Definition

Populates outRect with the hotspot bounds.

[Android.Runtime.Register("getHotspotBounds", "(Landroid/graphics/Rect;)V", "GetGetHotspotBounds_Landroid_graphics_Rect_Handler", ApiSince=23)]
public virtual void GetHotspotBounds (Android.Graphics.Rect outRect);
[<Android.Runtime.Register("getHotspotBounds", "(Landroid/graphics/Rect;)V", "GetGetHotspotBounds_Landroid_graphics_Rect_Handler", ApiSince=23)>]
abstract member GetHotspotBounds : Android.Graphics.Rect -> unit
override this.GetHotspotBounds : Android.Graphics.Rect -> unit

Parameters

outRect
Rect

the rect to populate with the hotspot bounds

Attributes

Remarks

Populates outRect with the hotspot bounds.

Java documentation for android.graphics.drawable.Drawable.getHotspotBounds(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