title: Getting the element coordinates after moving shapes in javafx using relocate
body: <p>Basically, I am trying to move a shape using javafx relocate method. (Shapes being random polyline drawn by the user and recangle). The relocate method does not update the x and y coordinates of the shape. The Oracle docs states that relocate "Sets the node's layoutX and layoutY translation properties in order to relocate this node to the x,y location in the parent. This method does not alter translateX or translateY, which if also set will be added to layoutX and layoutY, adjusting the final location by corresponding amounts."</p>
  
  <p>My question is how can I get the new x and y coordinates from the information I have. </p>