API Proposal: RT-3290 localToScreen and screenToLocal utility methods

Richard Bair richard.bair at oracle.com
Mon Jan 14 10:33:46 PST 2013


Looks good to me.

On Jan 14, 2013, at 7:19 AM, Martin Sladecek <martin.sladecek at oracle.com> wrote:

> 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