Drawable.SetHotspot(Single, Single) Drawable.SetHotspot(Single, Single) Method

Definition

Specifies the hotspot's location within the drawable.

[Android.Runtime.Register("setHotspot", "(FF)V", "GetSetHotspot_FFHandler", ApiSince=21)]
public virtual void SetHotspot (float x, float y);
abstract member SetHotspot : single * single -> unit
override this.SetHotspot : single * single -> unit

Parameters

x
Single Single

The X coordinate of the center of the hotspot

y
Single Single

The Y coordinate of the center of the hotspot

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