Hi
I'm creating a drawing api where I have used lineTo/moveTo methods to create line drawing. now i want to create a eraser kind of effect which can be like eraser removing parts of the lines.
This should not be clear function which clears all the drawing at once.
It should behave like an eraser. Like on hittest it should remove that part of the line.
Is it possible???

Please guide.......its urgent!!

Thanx