After looking at the documentation of raphael.js, I was only able to find the Paper.clear() and Element.attr({'clip-rect':...}) methods for "erasing" the paper. The former erases the entire paper and the latter clips parts of existing elements.
Is it possible to erase a "path" within the paper, mimicking an actual erase tool?
Or is there a better library better suited for implementing a simple MS Paint/Photoshop clone?