Class GeometryNode<T extends IGeometry>

Type Parameters:
T - An IGeometry used to define the geometric shape of this GeometryNode
All Implemented Interfaces:
javafx.css.Styleable, EventTarget

public class GeometryNode<T extends IGeometry> extends Region
A GeometryNode is a Node which can be constructed using an underlying IGeometry. It is comparable to a Shape, while a GeometryNode in contrast can be resized. Furthermore, the geometric bounds of a GeometryNode can be virtually extended for the purpose of mouse hit-testing to realize a 'clickable area'.

Technically, a GeometryNode is a Region that internally holds a geometric shape, which is updated to reflect the given IGeometry, and to which all visual properties are delegated. The 'clickable' area is realized by a transparent, non-mouse transparent overlay that uses the same IGeometry, extended by the clickable area width.

Please note that because IGeometry does not support change notifications itself, changes to the underlying IGeometry will not be recognized by the GeometryNode unless the geometry property is changed.