New example of using DIV tags for hit testing


« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by RGraph support on 16th August 2013
Hi there,

As mentioned in the article that details the forth-coming hit regions addition to HTML5 canvas one option that you have for hit testing is placing DIV tags over the canvas and adding the event listeners to them. In a limited set of circumstances where the end user environment can be controlled it can save a lot of time and prevent you having to add hit testing code to your application. This article shows you an example of it.

www.rgraph.net/blog/2013/august/an-example-of-using-div-tags-for-hit-testing-with-html5-canvas.html

Richard, RGraph support

Add a reply

 




« Back to message list
RGraph on social media