screen coordinate

Randahl Fink Isaksen randahl at rockit.dk
Sat Jun 16 01:29:12 PDT 2012


Since a node can have a parent which can have a parent, etc., I did this 
by adding the layoutX coordinates of the current node and all its 
parents (recursive method) and then adding the window position.

R.

On 16/06/12 10.26, Tom Eugelink wrote:
> I'm trying to determine the screen coordinates of a node; apparently 
> node.layoutX + node.scene.x + node.scene.window.x is not it. At least 
> not all of the time. What am I missing?
>
> Tom


More information about the openjfx-dev mailing list