Drawable.SetHotspotBounds(Int32, Int32, Int32, Int32) 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", ApiSince=21)]
public virtual void SetHotspotBounds (int left, int top, int right, int bottom);
abstract member SetHotspotBounds : int * int * int * int -> unit
override this.SetHotspotBounds : int * int * int * int -> unit

Parameters

left
Int32 Int32

position in pixels of the left bound

top
Int32 Int32

position in pixels of the top bound

right
Int32 Int32

position in pixels of the right bound

bottom
Int32 Int32

position in pixels of the bottom bound

Remarks

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