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


pan?

optional pan: IPanOptions

The options for configuring the pan behavior of the canvas.

Defined in

options/interfaces/ICanvasOptions.ts:36


pannable?

optional pannable: boolean

Whether panning is enabled on the canvas.

Defined in

options/interfaces/ICanvasOptions.ts:31


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:26


zoomable?

optional zoomable: boolean

Whether zooming is enabled on the canvas.

Defined in

options/interfaces/ICanvasOptions.ts:21