I am able to draw an image, then re-draw in the new mouse postion, but the image remains in the last positions, so it smears all over the canvas. I don't see a method for remove the last draw image, and I don't want to call clear() to clear the entire canvas. Please advice how to accomplish this.
I am able to draw an image, then re-draw in the new mouse postion, but the image remains in the last positions, so it smears all over the canvas. I don't see a method for remove the last draw image, and I don't want to call clear() to clear the entire canvas. Please advice how to accomplish this.