Drawable.SetHotspotBounds(Int32, Int32, Int32, Int32) Method

Definition

Sets the bounds to which the hotspot is constrained, if they should be different from the drawable bounds.

[Android.Runtime.Register("setHotspotBounds", "(IIII)V", "GetSetHotspotBounds_IIIIHandler")]
public virtual void SetHotspotBounds (int left, int top, int right, int bottom);
[<Android.Runtime.Register("setHotspotBounds", "(IIII)V", "GetSetHotspotBounds_IIIIHandler")>]
abstract member SetHotspotBounds : int * int * int * int -> unit
override this.SetHotspotBounds : int * int * int * int -> unit

Parameters

left
Int32

position in pixels of the left bound

top
Int32

position in pixels of the top bound

right
Int32

position in pixels of the right bound

bottom
Int32

position in pixels of the bottom bound

Attributes

Remarks

Sets the bounds to which the hotspot is constrained, if they should be different from the drawable bounds.

Java documentation for android.graphics.drawable.Drawable.setHotspotBounds(int, int, int, int).

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

See also