In my application the user can draw out a shape using a "pen" tool, like in Photoshop. The co-ordinates are stored in an array of points and a path is made from them. The path is what is draw on the Canvas
.
I want to be able to detect if the user has clicked on the shape but I don't know how to start. If it were a regular shape e.g. rectangle
, I could create a Region and use that but they path can contain many points and be any shape.
Thanks for any help...