How to save the previous state of objects drawn in a canvas?

Printable View