title: I have drawn multiple lines, how do I get the beginning and ending coordinates?
body: <p>I have large scrollable image and I am drawing multiple lines using canvas. I want to get the starting and ending coordinates (x,y) of that specific line, which is clicked by the user. How can I do that?</p>