Search
ConnectionPoint Methods
 


 Public Methods

  Name Description

AddLinkToNode

Adds the link associated with this connection point to the associated node.

CalculateIntersections

Determines whether the end of a link should be aligned to the point where the node contour is intersected by the line connecting the centers of the connected nodes.

CanMoveLink

Checks whether the specified point, expressed in document coordinates, is a valid location for this connection point.

GetAnchorPos

Overloaded.  

GetEndPoint

Calculates the coordinates of the this connection point expressed in document coordinates.

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.

GetNodeRect

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

LinkChanges

Checks whether the relationship represented by the associated link would change if the link is attached to the specified node at the specified point.

NearestAnchorPoint

Returns the anchor point closest to the specified point from the node's associated anchor pattern.

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.

SameNode

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

SaveEndRelative

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

 Protected Methods

  Name Description

GetClassId

Returns unique id number for this class.

GetNearestBorderPoint

Returns the nearest point lying on the node border.

LoadFrom

Deserializes the object from the specified reader.

SaveTo

Serializes the object to the specified writer.

SetReference

Updates the reference to the specified object.

UpdateFromPoint

Updates the connection state according to the specified point, without changing the related node.

 See Also