setCanvasDimensions
Sets the dimensions of the canvas.
Parameters
canvasWidth
The width of the canvas.
canvasHeight
The height of the canvas.
Sets the dimensions of the canvas.
The width of the canvas.
The height of the canvas.