title: Enlarging the click area of a line in javafx
body: <p>Currently I have a sample application that draws a line and has an onmouseclick listener on the line. </p>
  
  <p>However the line is hard to hit because it is one pixel wide. Currently I make the line wider when you hover over it which makes it easier to aim but it is ugly.</p>
  
  <p>Is there a way to make the "target" area for a mouse click bigger for a line without making the actual line bigger?</p>