Creates a new canvas. Use the createInput method to first create an input object and set the available options. Then, pass that input object to the add method to create the canvas.
"canvases_var" is a variable referencing a Canvases object.
|
"canvases_var" is a variable referencing a Canvases object.
|
Type | Description |
Canvas | Returns the newly created Canvas object. |
Name | Type | Description |
input | CanvasInput | The CanvasInput object that defines the required information needed to create a new canvas. A CanvasInput object is the logical equivalent to the command dialog when creating a canvas. It provides access to the various options when creating a canvas. Calling the add method and passing in the CanvasInput is the equivalent to clicking the OK button on the dialog to create the canvas. |