I have a raphael.js shape which I am plotting circle\'s on top of. I only want a circle to appear if the circle does not go off the boundary of the shape it is being plotted
One possible way to dertermine if a point is inside closed path is this:
I don't know if that help you very much since I don't know raphael.js at all. But it's a working geometrical approach to the problem.