Preparing search index...
The search index is not available
@niuee/board
@niuee/board
TouchContext
Interface TouchContext
interface
TouchContext
{
addTouchPoints
:
(
points
:
TouchPoints
[]
)
=>
void
;
canvas
:
HTMLCanvasElement
;
getCurrentTouchPointsCount
:
()
=>
number
;
getInitialTouchPointsPositions
:
(
idents
:
number
[]
)
=>
TouchPoints
[]
;
notifyOnPan
:
(
delta
:
Point
)
=>
void
;
notifyOnZoom
:
(
zoomAmount
:
number
,
anchorPoint
:
Point
)
=>
void
;
removeTouchPoints
:
(
idents
:
number
[]
)
=>
void
;
updateTouchPoints
:
(
pointsMoved
:
TouchPoints
[]
)
=>
void
;
}
Implemented by
TouchInputTracker
Index
Properties
add
Touch
Points
canvas
get
Current
Touch
Points
Count
get
Initial
Touch
Points
Positions
notify
On
Pan
notify
On
Zoom
remove
Touch
Points
update
Touch
Points
Properties
add
Touch
Points
addTouchPoints
:
(
points
:
TouchPoints
[]
)
=>
void
canvas
canvas
:
HTMLCanvasElement
get
Current
Touch
Points
Count
getCurrentTouchPointsCount
:
()
=>
number
get
Initial
Touch
Points
Positions
getInitialTouchPointsPositions
:
(
idents
:
number
[]
)
=>
TouchPoints
[]
notify
On
Pan
notifyOnPan
:
(
delta
:
Point
)
=>
void
notify
On
Zoom
notifyOnZoom
:
(
zoomAmount
:
number
,
anchorPoint
:
Point
)
=>
void
remove
Touch
Points
removeTouchPoints
:
(
idents
:
number
[]
)
=>
void
update
Touch
Points
updateTouchPoints
:
(
pointsMoved
:
TouchPoints
[]
)
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
add
Touch
Points
canvas
get
Current
Touch
Points
Count
get
Initial
Touch
Points
Positions
notify
On
Pan
notify
On
Zoom
remove
Touch
Points
update
Touch
Points
@niuee/board
Loading...