Canvas.resizeBackground Method

Resizes the canvas background (actual dashboard surface).
 

Parameters

width

Type: Number - May be null
(Optional) Width dimension in pixels, if null, force the canvas to redraw the background as the same width.
height

Type: Number - May be null
(Optional) Height dimension in pixels. if null, force the canvas to redraw the background as the same height.
isNotUndoable

Type: boolean
(Optional) True to make this not undoable.