# Package org.eclipse.gef.fx.utils

package org.eclipse.gef.fx.utils
This package provides utilities for picking nodes, querying the pointer location, and for applying transformations.

Related Packages
Package
Description
org.eclipse.gef.fx
This package provides the bundle activator ( `FxBundle`).
org.eclipse.gef.fx.anchors
This package provides a visual anchor abstraction ( `IAnchor`), a related abstract base implementation (`AbstractAnchor`), as well as concrete anchor implementations ( `StaticAnchor`, `DynamicAnchor`) to manage dynamic positioning of visuals in dependence of others.
org.eclipse.gef.fx.jface
This package provides a `DialogCellEditor` to edit `Paint` values, and a related specific `Dialog`.
org.eclipse.gef.fx.listeners
This package provides a `VisualChangeListener`, which can be used to recognize visual changes of one observed `Node` visual relative to an observer visual.
org.eclipse.gef.fx.nodes
This package provides: an adaptation of an `IGeometry` to `Node`: `GeometryNode` a connection abstraction that is based on `IAnchor`: `Connection` a visual to display an image which is overlayed by another image on mouse hover: `HoverOverlayImageView` a visual providing a scrollable infinite canvas with a background grid: `InfiniteCanvas`
Classes
Class
Description
CursorUtils
The `CursorUtils` class contains utility methods for determining the current pointer location (`CursorUtils.getPointerLocation()`).
Geometry2Shape
The utility class `Geometry2Shape` provides methods for the conversion of `IGeometry` implementations to JavaFX `Shape` implementations.
NodeUtils
The `NodeUtils` class contains utility methods for working with JavaFX: transforming `IGeometry`s from/to different JavaFX coordinate systems (`NodeUtils.localToParent(Node, IGeometry)`, `NodeUtils.localToScene(Node, IGeometry)`, `NodeUtils.localToScene(Node, Point)`, `NodeUtils.parentToLocal(Node, IGeometry)`, `NodeUtils.sceneToLocal(Node, IGeometry)`) determining the actual local-to-scene or scene-to-local transform for a JavaFX `Node` (`NodeUtils.getLocalToSceneTx(Node)`, `NodeUtils.getSceneToLocalTx(Node)`) perform picking of `Node`s at a specific position within the JavaFX scene graph (`NodeUtils.getNodesAt(Node, double, double)`)
Shape2Geometry
The utility class `Shape2Geometry` provides methods for the conversion of JavaFX `Shape` implementations to `IGeometry` implementations.