Interface MultiTouchData

Multi-touch interaction data interface

interface MultiTouchData {
    touches: readonly SrcTgtPointsData<TouchData>[];
    velocity(direction): number;
}

Hierarchy

Implemented by

Properties

Methods

Properties

touches: readonly SrcTgtPointsData<TouchData>[]

The list of touch data.

Methods

  • The velocity of the move, in pixels per millisecond. For multi-touch, the velocity is the mean of all the touch velocities.

    Parameters

    • direction: "all" | "horiz" | "vert"

      The direciton to consider.

    Returns number

Generated using TypeDoc