MotionEvent.SetLocation(Single, Single) MotionEvent.SetLocation(Single, Single) Method

Definition

Set this event's location.

[Android.Runtime.Register("setLocation", "(FF)V", "")]
public void SetLocation (float x, float y);
member this.SetLocation : single * single -> unit

Parameters

x
Single Single

New absolute X location.

y
Single Single

New absolute Y location.

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