How to provide the click event on line stroke element in canvas using javaScript ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022
06:51 AM
I am trying to provide the click for a line which is drawn by using canvas in Javascript.
When I click on the line it should be highlighted and click again highlight should be removed.
Please help on this.