ZoomOptions
Options for configuring the zoom behavior of a canvas.
Implements
Constructors
new ZoomOptions()
new ZoomOptions(
options):ZoomOptions
Creates a new instance of ZoomOptions.
Parameters
• options: Partial<IZoomOptions> = {}
The partial options provided by the user.
Returns
Defined in
Properties
step
step:
number
The step value for zoom increments.
Implementation of
Defined in
useWheel
useWheel:
boolean
Whether zooming with the mouse wheel is enabled.
Implementation of
Defined in
DefaultOptions
readonlystaticDefaultOptions:IZoomOptions
Default zoom options.