Here is an example: http://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_canvas_arc I am interested in knowing how to turn the entire circle into a clickable link. How can I achieve this and capture that element? Can you explain how events function inside a canvas?
var c = document.getElementById("myCanvas");
var ctx = c.getContext("2d");
ctx.beginPath();
ctx.arc(100, 75, 50, 0, 2 * Math.PI);
ctx.stroke();
<canvas id="myCanvas" width="300" height="150" style="border:1px solid #d3d3d3;">
Your browser does not support the HTML5 canvas tag.</canvas>