how to implement undo operation in painting app
<p>I am doing a painting app. In that, I draw some image. But I want to add undo operation to remove the previous drawn item. How can I implement that undo operation?</p>
