public Bounds localToScene (Bounds localBounds, boolean rootScene)

Transforms a bounds from the local coordinate space of this Node into the coordinate space of its scene. If the Node does not have any SubScene or rootScene is set to true, the result bounds are in Scene coordinates of the Node returned by getScene(). Othwerwise, the subscene coordinates are used, which is equivalent to calling localToScene(javafx.geometry.Bounds)

Parameters:
localBounds    the bounds in local coordinates
rootScene    whether Scene coordinates should be used even if the Node is in a SubScene

Returns:  transformed bounds

See also:
localToScene(javafx.geometry.Bounds)

Since:  JavaFX 8u40