Function

GstVideo-1.0GstVideonavigation_event_new_touch_motionSince 1.22

  • Create a new navigation event for a moved touch point.

    Parameters

    • identifier: number

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

    • x: number

      The x coordinate of the touch point.

    • y: number

      The y coordinate of the touch point.

    • pressure: number

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

    • state: GstVideo.NavigationModifierType

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

    Returns Gst.Event

    a new Gst.Event

    1.22