Skip to content

Enumeration: Units ​

Enumeration Members ​

CANVAS ​

• CANVAS = 1

This value indicates that the InfiniteCanvas will use a coordinate system that corresponds to the underlying <canvas>'s width and height properties.

Defined in ​

units.ts:9


CSS ​

• CSS = 0

This value indicates that the InfiniteCanvas will use a coordinate system whose units correspond to CSS pixels.

Defined in ​

units.ts:5