public interface BoundsLocator
| Modifier and Type | Method and Description |
|---|---|
javafx.geometry.Bounds |
boundsInSceneFor(javafx.scene.Node node) |
javafx.geometry.Bounds |
boundsInWindowFor(javafx.geometry.Bounds boundsInScene,
javafx.scene.Scene scene) |
javafx.geometry.Bounds |
boundsInWindowFor(javafx.scene.Scene scene) |
javafx.geometry.Bounds |
boundsOnScreenFor(javafx.geometry.Bounds boundsInScene,
javafx.scene.Scene scene) |
javafx.geometry.Bounds |
boundsOnScreenFor(javafx.scene.Node node) |
javafx.geometry.Bounds |
boundsOnScreenFor(javafx.scene.Scene scene) |
javafx.geometry.Bounds |
boundsOnScreenFor(javafx.stage.Window window) |
javafx.geometry.Bounds boundsInSceneFor(javafx.scene.Node node)
node - the nodeScene. If the node's bounds extend beyond the Scene's bounds, the excess will be removed.javafx.geometry.Bounds boundsInWindowFor(javafx.scene.Scene scene)
scene - the scenejavafx.geometry.Bounds boundsInWindowFor(javafx.geometry.Bounds boundsInScene,
javafx.scene.Scene scene)
boundsInScene - the bounds, which may extend beyond the scene's boundsscene - the scene used to set the bounds limitsboundsInScene, which is limited
by the bounds of the given Scene. If the former extends beyond the latter, the excess will be removedjavafx.geometry.Bounds boundsOnScreenFor(javafx.scene.Node node)
node - the node.Scene's
bounds and secondly by its Scene's Window's boundsjavafx.geometry.Bounds boundsOnScreenFor(javafx.scene.Scene scene)
scene - the scenejavafx.geometry.Bounds boundsOnScreenFor(javafx.stage.Window window)
window - the windowjavafx.geometry.Bounds boundsOnScreenFor(javafx.geometry.Bounds boundsInScene,
javafx.scene.Scene scene)
boundsInScene - the initial bounds to convert to screen boundsscene - the scene that limits the boundsInSceneboundsInScene, which is limited by the
given Scene's bounds.