screen coordinate

Dr. Michael Paus mp at jugs.org
Sat Jun 16 02:16:24 PDT 2012


I haven't tried it myself but I think you will have to use the nodes 
localToScene transform
to get its location in the scenes coordinate system first.

Am 16.06.2012 10:26, schrieb Tom Eugelink:
> 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


-- 
--------------------------------------------------------------------------------------
Dr. Michael Paus, Chairman of the Java User Group Stuttgart e.V. (JUGS).
For more information visit www.jugs.de.



More information about the openjfx-dev mailing list