Android.Graphics.Drawables.Drawable.SetHotspot Method
Specifies the hotspot's location within the drawable.

Syntax

[Android.Runtime.Register("setHotspot", "(FF)V", "GetSetHotspot_FFHandler")]
public virtual void SetHotspot (float x, float y)

Parameters

x
The X coordinate of the center of the hotspot
y
The Y coordinate of the center of the hotspot

Remarks

Specifies the hotspot's location within the drawable.

[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