MotionEvent.OffsetLocation(Single, Single) MotionEvent.OffsetLocation(Single, Single) Method

Definition

Adjust this event's location.

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

Parameters

deltaX
Single Single

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

deltaY
Single Single

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

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