android - Stroke deletion in finger paint -


I am developing a finger-color application. I have a full functionality that wants to delete a full stroke (I do not want the point or full screen deletion) I want to remove the stroke (a single stroke is the middle point between touch and touch). Is there a predefined method in the Android canvas erasing this stroke?

Keep a list of all strokes. When you want to delete one, remove it from the list, cancel your view, and walk through the complete list of all strokes and recreate the canvas.


Comments

Popular posts from this blog

c# - Reactive Extensions ControlScheduler -

scala - Play Framework - how to bind form to a session field -

Firefox reacting to JQuery setTimeout that doesn't apply -