IConnector.AddBend method
Namespace: NextDesign.Core
Description
Adds a bend at the specified coordinates to the connector.
If the line type is a 1st Bezier curve or 2nd 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 few or too many bends for the line type, the bends will be recreated and relocated.
Ex) There are 3 bends in the quadratic Bezier curve.
argument
Name | Type | Description |
---|---|---|
x | int | X coordinate of the bend. |
y | int | Y coordinate of the bend. |
Return value
- void
Exceptions
Name | Exception Class | Description |
---|---|---|
Illegal operation | ExtensionInvalidOperationException | When executed against a connector of a tree diagram When executed against a connector of a feature tree diagram |