Using the canvas width and height.