title: How to connect a line to circle (not the center) using java fx
body: <p>I am using javafx
  I wont to Connect a line to 2 circle the connection must be to the surface of the circle not the center</p>
  
  <p>And when the circle move the line connect to the best point in the circle. 
  when connecting, the line and the circle must not overlap</p>
  
  <p>Thank you</p>
  
  <p><strong>Edit</strong></p>
  
  <p>The solution i am looking for require that</p>
  
  <ol>
  <li>the line intersect with the circle  so the tangent is not the solution</li>
  <li>if the line virtually continue it must intersect with the center of the circle</li>
  </ol>