Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GestureInfo

Hierarchy

  • GestureInfo

Index

Properties

Optional delta

delta: number[]

Difference vector between from start to pos.

Optional force

force: undefined | number

Optional current force/pressure details. Only available for touch gestures and if hardware supports it. Default value is hardware specific too, usually 0 or 1.

id

id: number

Touch/cursor ID. For mouse cursors this always is zero.

pos

pos: number[]

Current cursor position (as per GestureStreamOpts.local & GestureStreamOpts.scale)

Optional start

start: number[]

Initial start position of this cursor.

Generated using TypeDoc