set Canvas Dimensions
Sets the dimensions of the canvas and redraws the path if the dimensions have changed.
Parameters
canvas Width
The new width of the canvas.
canvas Height
The new height of the canvas.
Sets the dimensions of the canvas and redraws the path if the dimensions have changed.
The new width of the canvas.
The new height of the canvas.