Preparing search index...
The search index is not available
@niuee/board
@niuee/board
DefaultBoardKMTStrategy
Class DefaultBoardKMTStrategy
Implements
BoardKMTStrategy
Index
Constructors
constructor
Properties
SCROLL_
SENSATIVITY
_align
Coordinate
System
_camera
_canvas
_debug
Mode
_disabled
_key
Controller
_pan
Disabled
_rotate
Disabled
_zoom
Disabled
drag
Start
Point
input
Observer
is
Dragging
Accessors
align
Coordinate
System
camera
canvas
debug
Mode
disabled
pan
Disabled
rotate
Disabled
zoom
Disabled
Methods
bind
Functions
disable
Strategy
enable
Strategy
keypress
Handler
keyup
Handler
pointer
Down
Handler
pointer
Move
Handler
pointer
Up
Handler
scroll
Handler
set
Up
setup
Key
Controller
tear
Down
update
Camera
Constructors
constructor
new
Default
BoardKMTStrategy
(
canvas
,
camera
,
inputObserver
,
debugMode
?
,
alignCoordinateSystem
?
)
:
DefaultBoardKMTStrategy
Parameters
canvas
:
HTMLCanvasElement
camera
:
BoardCamera
inputObserver
:
InputObserver
debugMode
:
boolean
= false
alignCoordinateSystem
:
boolean
= true
Returns
DefaultBoardKMTStrategy
Properties
Private
SCROLL_
SENSATIVITY
SCROLL_
SENSATIVITY
:
number
Private
_align
Coordinate
System
_align
Coordinate
System
:
boolean
Private
_camera
_camera
:
BoardCamera
Private
_canvas
_canvas
:
HTMLCanvasElement
Private
_debug
Mode
_debug
Mode
:
boolean
Private
_disabled
_disabled
:
boolean
Private
_key
Controller
_key
Controller
:
Map
<
string
,
boolean
>
= ...
Private
_pan
Disabled
_pan
Disabled
:
boolean
= false
Private
_rotate
Disabled
_rotate
Disabled
:
boolean
= false
Private
_zoom
Disabled
_zoom
Disabled
:
boolean
= false
Private
drag
Start
Point
drag
Start
Point
:
Point
Private
input
Observer
input
Observer
:
InputObserver
Private
is
Dragging
is
Dragging
:
boolean
Accessors
read and write
align
Coordinate
System
get
alignCoordinateSystem
(
)
:
boolean
Returns
boolean
set
alignCoordinateSystem
(
value
)
:
void
Parameters
value
:
boolean
Returns
void
read and write
camera
get
camera
(
)
:
BoardCamera
Returns
BoardCamera
set
camera
(
value
)
:
void
Parameters
value
:
BoardCamera
Returns
void
read only
canvas
get
canvas
(
)
:
HTMLCanvasElement
Returns
HTMLCanvasElement
read and write
debug
Mode
get
debugMode
(
)
:
boolean
Returns
boolean
set
debugMode
(
value
)
:
void
Parameters
value
:
boolean
Returns
void
read only
disabled
get
disabled
(
)
:
boolean
Returns
boolean
read and write
pan
Disabled
get
panDisabled
(
)
:
boolean
Returns
boolean
set
panDisabled
(
value
)
:
void
Parameters
value
:
boolean
Returns
void
read and write
rotate
Disabled
get
rotateDisabled
(
)
:
boolean
Returns
boolean
set
rotateDisabled
(
value
)
:
void
Parameters
value
:
boolean
Returns
void
read and write
zoom
Disabled
get
zoomDisabled
(
)
:
boolean
Returns
boolean
set
zoomDisabled
(
value
)
:
void
Parameters
value
:
boolean
Returns
void
Methods
bind
Functions
bind
Functions
(
)
:
void
Returns
void
disable
Strategy
disable
Strategy
(
)
:
void
Returns
void
enable
Strategy
enable
Strategy
(
)
:
void
Returns
void
keypress
Handler
keypress
Handler
(
e
)
:
void
Parameters
e
:
KeyboardEvent
Returns
void
keyup
Handler
keyup
Handler
(
e
)
:
void
Parameters
e
:
KeyboardEvent
Returns
void
pointer
Down
Handler
pointer
Down
Handler
(
e
)
:
void
Parameters
e
:
PointerEvent
Returns
void
pointer
Move
Handler
pointer
Move
Handler
(
e
)
:
void
Parameters
e
:
PointerEvent
Returns
void
pointer
Up
Handler
pointer
Up
Handler
(
e
)
:
void
Parameters
e
:
PointerEvent
Returns
void
scroll
Handler
scroll
Handler
(
e
)
:
void
Parameters
e
:
WheelEvent
Returns
void
set
Up
set
Up
(
)
:
void
Returns
void
setup
Key
Controller
setup
Key
Controller
(
keys
)
:
void
Parameters
keys
:
string
[]
Returns
void
tear
Down
tear
Down
(
)
:
void
Returns
void
update
Camera
update
Camera
(
camera
)
:
void
Parameters
camera
:
BoardCamera
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
SCROLL_
SENSATIVITY
_align
Coordinate
System
_camera
_canvas
_debug
Mode
_disabled
_key
Controller
_pan
Disabled
_rotate
Disabled
_zoom
Disabled
drag
Start
Point
input
Observer
is
Dragging
align
Coordinate
System
camera
canvas
debug
Mode
disabled
pan
Disabled
rotate
Disabled
zoom
Disabled
bind
Functions
disable
Strategy
enable
Strategy
keypress
Handler
keyup
Handler
pointer
Down
Handler
pointer
Move
Handler
pointer
Up
Handler
scroll
Handler
set
Up
setup
Key
Controller
tear
Down
update
Camera
@niuee/board
Board
Board
Input Strategy
DefaultBoardKMTStrategy
DefaultTouchStrategy
BoardKMTStrategy
Camera Observer
CameraObserverV2
Input Observer
InputObserver
Other
BasePanHandler
BaseRotationHandler
BaseZoomHandler
BoardCameraV2
BoardStateObserver
ClampHandler
PanHandlerBoilerPlate
PanRig
PanWithRestriction
RotationClampHandler
Loading...
Generated using
TypeDoc