This discussion is archived
0 Replies Latest reply: Oct 8, 2012 4:18 AM by fabsav RSS

getLayout problem

fabsav Newbie
Currently Being Moderated
Hi !

i've some nodes in a hbox, in an AnchorPane.

i want to draw a line from a single node to the center of the AnchorPane, but i'm having trouble to detect node.getLayout (should become the line.startX/Y).
I would like to get node position referred to the AnchorPane coordinates system.

How can i do ?

Thank you!

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points