Interface ISwipeCanMoveArg

interface ISwipeCanMoveArg {
    diff: ISwipeVec2;
    start: ISwipeVec2;
    state: ISwipeState;
    type: "mouse" | "touch";
}

Properties

Properties

Offset from start to state (pointer space).

start: ISwipeVec2

Pointer position when the gesture began.

Current pointer sample.

type: "mouse" | "touch"

Input device.