How I can detect a click on the border of a canvas, not its contents?.
I am aware that I can validate ranges event.mouseX (Y), but my canvas has rounded corners and in some cases appears to be a circle, is there any way of knowing if the border of the canvas is under the pointer?
I have:
Canvas.setStyle ("borderColor", 0xFF0000);
Canvas.setStyle ("borderStyle", "solid");
Canvas.setStyle ("BorderThickness", 10);