Android Question How to Clean Canvas drawing

Mscal

Member
Licensed User
Hello,I'm new here and there is a problem i cannot solved.
I use a canvas draw a line in a panel,and then How can i do to clear this line?Please help me solve this problem.
 
Depending on what exactly you want to do, the solution may be different.
Do you want to delete the last line but keep the previous drawing?
Or dou you want to make a rubber band.
Enter 'canvas undo' in the search box, and you get answers, I have not test all the solutions.
 
Upvote 0
Depending on what exactly you want to do, the solution may be different.
Do you want to delete the last line but keep the previous drawing?
Or dou you want to make a rubber band.
Enter 'canvas undo' in the search box, and you get answers, I have not test all the solutions.

Thank you,I want to clear ALL and I solved this problem by use canvas draw a big,color.Transparent,filled circle.
 
Upvote 0
Back
Top