Technique 1
- In the
clickcorresponding buttons, set a unique CSS class in your <canvas>element. - Use CSS to apply a background image to your canvas.
Commands for drawing and erasing your canvas will not affect the background image overlaid with CSS behind your content.
Technique 2
redraw(), , , .click redraw(). .