ef-infinite-canvas
Version:
An infinite version of the html canvas
11 lines (10 loc) • 387 B
TypeScript
export declare enum Units {
/**
* This value indicates that the {@link InfiniteCanvas} will use a coordinate system whose units correspond to CSS pixels.
*/
CSS = 0,
/**
* This value indicates that the {@link InfiniteCanvas} will use a coordinate system that corresponds to the underlying `<canvas>`'s `width` and `height` properties.
*/
CANVAS = 1
}