Android Guides | Samples

Android.Graphics.Drawables.Drawable.SetHotspotBounds Method

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

Syntax

[Android.Runtime.Register("setHotspotBounds", "(IIII)V", "GetSetHotspotBounds_IIIIHandler")]
public virtual Void SetHotspotBounds (Int32 left, Int32 top, Int32 right, Int32 bottom)

See Also

Parameters

left
position in pixels of the left bound
top
position in pixels of the top bound
right
position in pixels of the right bound
bottom
position in pixels of the bottom bound

Remarks

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

[Android Documentation]

Requirements

Namespace: Android.Graphics.Drawables
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1