IConnector interface
Namespace: NextDesign.Core
Description
An access object to connector entity information.
Affiliation area
Name | Description |
---|---|
Editor | APIs to access editors. |
Inherit Base
Name | Description |
---|---|
IShape | Provides access to shape information. |
Property
Name | Description |
---|---|
EndPoint | Node connected to connector end |
LineType | Connector line type The line types are: |
StartPoint | Node connected to connector start point |
Method
Name | Description |
---|---|
AddBend | Adds 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. |
AddBends | Adds 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. |
ClearBends | Clears 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. |
GetBends | Gets 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. |
SetLineType | Sets the line type of the connector. |