Create links in HTML canvas
There is no easy way. You will have to draw the link text onto the canvas and then check for mouseclicks. Here is a demo html page: <html> <head> <script type=”text/javascript”> var canvas = document.getElementById(“myCanvas”); var ctx; var linkText=”https://stackoverflow.com”; var linkX=5; var linkY=15; var linkHeight=10; var linkWidth; var inLink = false; // draw the balls … Read more