I\'m trying to develop program which can render images and text in canvas. I tried to handle click on image in canvas, but it work for rectable images.
My quest
I recommend using EaselJS which has a hitTest method similar to how it works in Actionscript:
myDisplayObject.hitTest(localX, localY);
Here you can find some demos that show the technique: http://shallaazm.com/createjs/easeljs/tutorials/HitTest/