The DiagramConnectionSegment type exposes the following members.

Methods

  NameDescription
Clone
Returns a deep clone of this DiagramConnectionSegment.
GetClosestPointTo
Returns the Point that lies on this DiagramConnectionSegment that is the closest point to the given one. The returned Point will have integer precision values.
RecalculateLayoutProperties
Calculates and sets the appropriate values for the Midpoint, IsHorizontal, and IsVertical properties.
SetEndPointNoNotify
Just sets the end point of this DiagramConnectionSegment without raising any property changed events.
SetStartPointNoNotify
Just sets the start point of this DiagramConnectionSegment to be the given point without raising any property changed events. If the previous segment is null, then the end point of this segment will be set to be the given point instead.
ShallowClone
Returns a shallow copy of just this DiagramConnectionSegment.

See Also