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)
localBounds | the bounds in local coordinates | |
rootScene | whether Scene coordinates should be used even if the Node is in a SubScene |
localToScene(javafx.geometry.Bounds)
Diagram: Node