CanvasService.addLayer Method
Add a layer to the current canvas.
Parameters
- layerName
-
Type: String - May be null
(Optional) The name of the layer. If null, name will be auto generated.
- layerFiendlyName
-
Type: String
(Optional) The friendly name of the layer. If null, name will be auto generated.
- isNotUndoable
-
Type: Boolean - May be null
(Optional) True to make this action not undoable.
Return Value
Type: Layer
The layer added.