Open this page in the API Guide
CanvasService.createCanvas Method
Create a new canvas.
Parameters
- container
-
Type: HTMLElement
The HTML element to create the canvas with.
- options
-
Type: Object
Options for the canvas creation.
Return Value
Type: Canvas
Canvas