The DiagramConnectionSegment type exposes the following members.
Properties
Name | Description | |
---|---|---|
Connection |
Gets the IDiagramConnection that the segment belongs to.
| |
EndPoint |
Gets or sets the end point of this DiagramConnectionSegment. Note that this value is also used for the start
point of the next segment to this one.
| |
IsHorizontal |
Gets whether the segment is horizontal.
True if this DiagramConnectionSegment is horizontal. False otherwise.
This DiagramConnectionSegment is horizontal if the y values of the start and end points are
both the same.
This is a dependency property.
| |
IsVertical |
Gets the whether the segment is vertical.
This is a dependency property.
| |
Length |
Returns the length of this DiagramConnectionSegment in double precision/>
| |
Midpoint |
Gets the midpoint of this DiagramConnectionSegment.
This is a dependency property.
| |
NextSegment |
Gets or sets the DiagramConnectionSegment that comes next in a chain of segments.
Setting this property also makes sure that the previous segment of the set one is set to
be this segment.
| |
PreviousSegment |
Gets or sets the DiagramConnectionSegment that comes previously before this one
in a chain of segments. Setting this property alse makes sure that the next segment of the set one
is set to be this segment.
| |
StartPoint |
Gets or sets the end point of the previous DiagramConnectionSegment to this one.
If this DiagramConnectionSegment does not have a previous segment, then the start
point of this DiagramConnectionSegment is its end point.
|