public interface PointLocator
PointQuery
objects that can be used to return a specific
point (in terms of the screen) somewhere in the bounds of the provided object.Modifier and Type | Method and Description |
---|---|
PointQuery |
point(Bounds bounds) |
PointQuery |
point(Node node) |
PointQuery |
point(Point2D point) |
PointQuery |
point(Scene scene) |
PointQuery |
point(Window window) |
PointQuery point(Bounds bounds)
bounds
- the initial bounds with which to construct a PointQuery
PointQuery
with the given bounds as the initial boundsPointQuery point(Point2D point)
point
- to convert into a Bounds
object.PointQuery
whose bounds x and y values are the given point and whose width/height = 0PointQuery point(Node node)
node
- the nodePointQuery
with the node's bounds (in terms of the screen) as the initial boundsPointQuery point(Scene scene)
scene
- the scenePointQuery
with the scene's bounds (in terms of the screen) as the initial boundsPointQuery point(Window window)
window
- the windowPointQuery
with the window's bounds (in terms of the screen) as the initial bounds