PanOptions
Options for configuring the pan behavior of a canvas.
Implements
Constructors
new PanOptions()
new PanOptions(
options
):PanOptions
Creates a new instance of PanOptions.
Parameters
• options: Partial
<IPanOptions
> = {}
The partial options provided by the user.
Returns
Defined in
Properties
mouseButtons
mouseButtons:
MouseButton
[]
List of mouse buttons that are used for panning.
Implementation of
Defined in
useMouse
useMouse:
boolean
Whether panning with the mouse is enabled.
Implementation of
Defined in
DefaultOptions
readonly
static
DefaultOptions:IPanOptions
Default pan options.