Skip to content

ConnectorSegment

Connectors are made of connector segments. The only class that should use ConnectorSegment is Connector

Constructors
ConnectorSegmentPointI, PointI, Connector Connector Segment constructor. Extremity must have the same X or Y coordinate
Properties
Connector Connector containging the segment
End Connector start location in the design coordinate system
Footprint Return segment Footprint
Position Return the position of the top left point of the segment used as the reference
Start Connector start location in the design coordinate system
Methods
CanMoveint, int, int, bool, bool, IList<IMovable> Return true if the emplacement at the newLocation is free.
GetOrientation() Return the orientation of the segment Horizontal or Vertical;
IsDirectlyConnectedToConnectorSegment Return true is one of the extremity of the segments are the same.
Moveint, int, int, bool, bool Return true if the item is moved to the desired future location. Return false if the item is not moved
ToString() Overide the ToString method Usually for debugs