Search
ConnectionPoint Methods
 


 Public Methods

  Name Description

addLinkToNode

Adds the DiagramLink associated with this connection point to the associated DiagramNode.

getInitialPoint

Returns a Point (usually the center of the bounding rectangle) contained within the associated node.

getIntersection

Calculates the intersection point between the specified line segment and the contour of the node associated with this connection point.

getNearestAnchorPoint

Returns the nearest anchor Point pertinent to this connection.

getNearestBorderPoint

Returns the nearest point lying on the DiagramNode border.

getNodeRect

Returns the bounding rectangle of the node associated with this connection point.

linkChanges

Checks whether the link would change if attached to the specified node at the specified point.

nodesIntersect

Checks whether the node associated with the current connection point and the node associated with the specified connection point intersect.

removeLinkFromNode

Removes the link associated with this connection point from the associated node.

saveEndRelative

Updates the coordinates of the connection point represented by this link, relative to the bounding rectangle of the associated node.

 See Also