event_new_touch_motion


Description:

[ Version ( since = "1.22" ) ]
public static Event event_new_touch_motion (uint identifier, double x, double y, double pressure, NavigationModifierType state)

Create a new navigation event for a moved touch point.

Parameters:

identifier

A number uniquely identifying this touch point. It must correlate to exactly one previous touch_start event.

x

The x coordinate of the touch point.

y

The y coordinate of the touch point.

pressure

Pressure data of the touch point, from 0.0 to 1.0, or NaN if no data is available.

state

a bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt).

Returns:

a new Event