Preparing search index...
The search index is not available
@niuee/board
@niuee/board
KmtInputContext
Interface KmtInputContext
The context for the keyboard mouse and trackpad input state machine.
interface
KmtInputContext
{
alignCoordinateSystem
:
boolean
;
canvas
:
HTMLCanvasElement
;
initialCursorPosition
:
Point
;
notifyOnPan
:
(
delta
:
Point
)
=>
void
;
notifyOnRotate
:
(
deltaRotation
:
number
)
=>
void
;
notifyOnZoom
:
(
zoomAmount
:
number
,
anchorPoint
:
Point
)
=>
void
;
setInitialCursorPosition
:
(
position
:
Point
)
=>
void
;
cleanup
()
:
void
;
setup
()
:
void
;
}
Hierarchy (
View Summary
)
BaseContext
KmtInputContext
Implemented by
ObservableInputTracker
Index
Properties
align
Coordinate
System
canvas
initial
Cursor
Position
notify
On
Pan
notify
On
Rotate
notify
On
Zoom
set
Initial
Cursor
Position
Methods
cleanup
setup
Properties
align
Coordinate
System
alignCoordinateSystem
:
boolean
canvas
canvas
:
HTMLCanvasElement
initial
Cursor
Position
initialCursorPosition
:
Point
notify
On
Pan
notifyOnPan
:
(
delta
:
Point
)
=>
void
notify
On
Rotate
notifyOnRotate
:
(
deltaRotation
:
number
)
=>
void
notify
On
Zoom
notifyOnZoom
:
(
zoomAmount
:
number
,
anchorPoint
:
Point
)
=>
void
set
Initial
Cursor
Position
setInitialCursorPosition
:
(
position
:
Point
)
=>
void
Methods
cleanup
cleanup
()
:
void
Returns
void
setup
setup
()
:
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
align
Coordinate
System
canvas
initial
Cursor
Position
notify
On
Pan
notify
On
Rotate
notify
On
Zoom
set
Initial
Cursor
Position
Methods
cleanup
setup
@niuee/board
Loading...
The context for the keyboard mouse and trackpad input state machine.