Preparing search index...
The search index is not available
@niuee/board
@niuee/board
TouchInputTracker
Class TouchInputTracker
Implements
TouchContext
Index
Constructors
constructor
Accessors
align
Coordinate
System
canvas
Methods
add
Touch
Points
cleanup
get
Current
Touch
Points
Count
get
Initial
Touch
Points
Positions
notify
On
Pan
notify
On
Zoom
remove
Touch
Points
setup
update
Touch
Points
Constructors
constructor
new
TouchInputTracker
(
canvas
:
HTMLCanvasElement
,
inputPublisher
:
RawUserInputPublisher
,
)
:
TouchInputTracker
Parameters
canvas
:
HTMLCanvasElement
inputPublisher
:
RawUserInputPublisher
Returns
TouchInputTracker
Accessors
align
Coordinate
System
get
alignCoordinateSystem
()
:
boolean
Returns
boolean
set
alignCoordinateSystem
(
value
:
boolean
)
:
void
Parameters
value
:
boolean
Returns
void
canvas
get
canvas
()
:
HTMLCanvasElement
Returns
HTMLCanvasElement
Methods
add
Touch
Points
addTouchPoints
(
points
:
TouchPoints
[]
)
:
void
Parameters
points
:
TouchPoints
[]
Returns
void
cleanup
cleanup
()
:
void
Returns
void
get
Current
Touch
Points
Count
getCurrentTouchPointsCount
()
:
number
Returns
number
get
Initial
Touch
Points
Positions
getInitialTouchPointsPositions
(
idents
:
number
[]
)
:
TouchPoints
[]
Parameters
idents
:
number
[]
Returns
TouchPoints
[]
notify
On
Pan
notifyOnPan
(
delta
:
Point
)
:
void
Parameters
delta
:
Point
Returns
void
notify
On
Zoom
notifyOnZoom
(
zoomAmount
:
number
,
anchorPoint
:
Point
)
:
void
Parameters
zoomAmount
:
number
anchorPoint
:
Point
Returns
void
remove
Touch
Points
removeTouchPoints
(
identifiers
:
number
[]
)
:
void
Parameters
identifiers
:
number
[]
Returns
void
setup
setup
()
:
void
Returns
void
update
Touch
Points
updateTouchPoints
(
pointsMoved
:
TouchPoints
[]
)
:
void
Parameters
pointsMoved
:
TouchPoints
[]
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
align
Coordinate
System
canvas
Methods
add
Touch
Points
cleanup
get
Current
Touch
Points
Count
get
Initial
Touch
Points
Positions
notify
On
Pan
notify
On
Zoom
remove
Touch
Points
setup
update
Touch
Points
@niuee/board
Loading...