Function

GstVideo-1.0GstVideonavigation_event_new_touch_downSince 1.22

  • Create a new navigation event for an added touch point.

    Parameters

    • identifier: number

      A 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.

    • x: number

      The x coordinate of the new touch point.

    • y: number

      The y coordinate of the new 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