Interface: InfiniteCanvasCtr
Constructors
constructor
• new InfiniteCanvasCtr(canvas
, config?
): InfiniteCanvas
Creates a new instance of an InfiniteCanvas
Parameters
Name | Type | Description |
---|---|---|
canvas | HTMLCanvasElement | The canvas on which to draw the InfiniteCanvas |
config? | Partial <Config > | The InfiniteCanvas's initial configuration |
Returns
Defined in
Properties
CANVAS_UNITS
• CANVAS_UNITS: Units
Static property with a value of Units.CANVAS
Defined in
CSS_UNITS
• CSS_UNITS: Units
Static property with a value of Units.CSS
Defined in
prototype
• prototype: InfiniteCanvas