Skip to main content

IConnector interface

Namespace: NextDesign.Core

Description

An access object to connector entity information.

Affiliation area

NameDescription
EditorAPIs to access editors.

Inherit Base

NameDescription
IShapeProvides access to shape information.

Property

NameDescription
EndPointNode connected to connector end
LineTypeConnector line type

The line types are:
StartPointNode connected to connector start point

Method

NameDescription
AddBendAdds a bend at the specified coordinates to the connector.

If the line type is a primary Bezier curve or quadratic Bezier curve connector, the display may be corrupted if it is displayed in the UI.
Also, when the connector is redisplayed, if there are too many or too few bends for the line type, the bends will be recreated and relocated.
Example) There are 3 bends in the quadratic Bezier curve.
AddBendsAdds bends at the given coordinate enumeration to the connector.
Bends are added in order from the connector's source (StartPoint) to its destination (EndPoint).

If the line type is a primary Bezier curve or quadratic Bezier curve connector, the display may be corrupted if it is displayed in the UI.
Also, when the connector is redisplayed, if there are too many or too few bends for the line type, the bends will be recreated and relocated.
Example) There are 3 bends in the quadratic Bezier curve.
ClearBendsClears bends on a connector.

If the line type is a primary Bezier curve or quadratic Bezier curve connector, the display may be corrupted if it is displayed in the UI.
Also, when the connector is redisplayed, if there are too many or too few bends for the line type, the bends will be recreated and relocated.
Example) There are 3 bends in the quadratic Bezier curve.
GetBendsGets the bends of the connector.
Bends enumerate their positions (coordinates) in the direction from the connector's source (StartPoint) to its destination (EndPoint).
Returns an empty enumeration if no vents exist.
SetLineTypeSets the line type of the connector.