If I draw a shape on a GWT canvas (rectangle, circle, whatever), how can I add a EventListener like MouseClick, MouseOver etc to that drawing?
Canvas canvas = Canvas.createIfSupported();
Context2d context = canvas.getContext2d();
context.beginPath();
context.moveTo(..;
context.lineTo(..);
//...
context.stroke();
context.fill();
How can I detect clicks only on this drawing?