3

Possible Duplicate:
Detect mouseover of certain points within an HTML canvas?

I have some Bezier and/or quadratic curves drawn on an HTML5 canvas.

How can I detect when the mouse is over a curve and select it when the mouse is clicked?

Is there a quick way of checking if the mouse pointer lies over a curve?

I'm using the JavaScript InfoVis Toolkit and JQuery.

Community
  • 1
  • 1
AlexB
  • 31
  • 1

0 Answers0