Navigation.eventNewTouchDown

gst.event.Event eventNewTouchDown(uint identifier, double x, double y, double pressure, gstvideo.types.NavigationModifierType state)

Create a new navigation event for an added touch point.

Parameters

identifierA number uniquely identifying this touch point. It must stay unique to this touch point at least until an up event is sent for the same identifier, or all touch points are cancelled.
xThe x coordinate of the new touch point.
yThe y coordinate of the new touch point.
pressurePressure data of the touch point, from 0.0 to 1.0, or NaN if no data is available.
statea bit-mask representing the state of the modifier keys (e.g. Control, Shift and Alt).

Returns

a new #GstEvent