Returns the nearest node whose bounding rectangle is intersected by the circle, defined by origin point and radius.
Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming
Java
![]() |
---|
public DiagramNode getNearestNode ( |
A Point2D object specifying where to look for nodes.
The maximum distance from point where to look for nodes.
Exclude this node from the search.
The DiagramNode closest to point if one is found within the specified distance.
The last argument is useful when calling this method from nodeCreated and nodeModified handlers and the affected node should not be included in the search.