Share via


MotionEvent.OffsetLocation(Single, Single) Method

Definition

Adjust this event's location.

[Android.Runtime.Register("offsetLocation", "(FF)V", "")]
public void OffsetLocation (float deltaX, float deltaY);
[<Android.Runtime.Register("offsetLocation", "(FF)V", "")>]
member this.OffsetLocation : single * single -> unit

Parameters

deltaX
Single

Amount to add to the current X coordinate of the event.

deltaY
Single

Amount to add to the current Y coordinate of the event.

Attributes

Remarks

Adjust this event's location.

Java documentation for android.view.MotionEvent.offsetLocation(float, float).

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