title: Dragging and Rotate an Rectangle in JavaFX
body: <p>I try to build an application in JavaFX where I can drag the position und size of an rectangle. Also I would rotate the rectangle. My only way is spaghetti code. </p>
  
  <p><a href="https://stackoverflow.com/questions/26298873/resizable-and-movable-rectangle?answertab=active#tab-top">Here is a very helpfull example for the drag functionality / without rotate</a></p>
  
  <p>But I can't extend this example with a rotate functionality!</p>
  
  <p>Has somebody an idea?</p>