Preparing search index...
The search index is not available
@niuee/board
@niuee/board
KmtInputContext
Interface KmtInputContext
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
;
}
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
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
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
@niuee/board
Loading...