title: How can I select and drag a line in canvas?
body: <p>I'm now working on a painting app. It uses a html canvas. Users can draw shapes on the canvas.</p>
  
  <p>Now a problem comes to me. I want to select the line that I drew on the canvas. When it is selected, I can drag it or delete it. How can I implement it ? Any good ideas?</p>