Skip to main content

ICanvasOptions

Represents options for configuring a canvas.

Properties​

height?​

optional height: number

The height of the canvas in pixels.

Defined in​

options/interfaces/ICanvasOptions.ts:16


interactive?​

optional interactive: boolean

Determines whether interactivity is enabled for the canvas.

Defined in​

options/interfaces/ICanvasOptions.ts:21


pan?​

optional pan: IPanOptions

The options for configuring the pan behavior of the canvas.

Defined in​

options/interfaces/ICanvasOptions.ts:41


pannable?​

optional pannable: boolean

Whether panning is enabled on the canvas.

Defined in​

options/interfaces/ICanvasOptions.ts:36


width?​

optional width: number

The width of the canvas in pixels.

Defined in​

options/interfaces/ICanvasOptions.ts:11


zoom?​

optional zoom: IZoomOptions

The options for configuring the zoom behavior of the canvas.

Defined in​

options/interfaces/ICanvasOptions.ts:31


zoomable?​

optional zoomable: boolean

Whether zooming is enabled on the canvas.

Defined in​

options/interfaces/ICanvasOptions.ts:26