I have a canvas with some irregular shape drawings in it, and I would like to have a feedback when someone clicks on a specific one?
I\'ve been looking everywhere for th
You can use a pathiterator, that turns all shapes into approximated polygons. Then use a 'point in polygon' algorithm to check if the point is in the shape.