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.
-
ClassDescriptionThe
CursorUtils
class contains utility methods for determining the current pointer location (CursorUtils.getPointerLocation()
).The utility classGeometry2Shape
provides methods for the conversion ofIGeometry
implementations to JavaFXShape
implementations.TheNodeUtils
class contains utility methods for working with JavaFX: transformingIGeometry
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 JavaFXNode
(NodeUtils.getLocalToSceneTx(Node)
,NodeUtils.getSceneToLocalTx(Node)
) perform picking ofNode
s at a specific position within the JavaFX scene graph (NodeUtils.getNodesAt(Node, double, double)
)The utility classShape2Geometry
provides methods for the conversion of JavaFXShape
implementations toIGeometry
implementations.