added style to the canvas.