API Proposal: RT-3290 localToScreen and screenToLocal utility methods

Martin Sladecek martin.sladecek at oracle.com
Mon Jan 14 07:19:29 PST 2013


Hello,
JIRA issue: http://javafx-jira.kenai.com/browse/RT-3290

I propose the following methods for Node (consistent with 
sceneToLocal/localToScene):

public Point2D screenToLocal(double screenX, double screenY);
public Point2D screenToLocal(Point2D screenPoint);
public Bounds screenToLocal(Bounds screenBounds);

public Point2D localToScreen(double localX, double localY);
public Point2D localToScreen(Point2D localPoint);
public Bounds localToScreen(Bounds localBounds);

-Martin


More information about the openjfx-dev mailing list