Skip to main content

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

NameTypeDescription
xintX coordinate of the bend.
yintY coordinate of the bend.

Return value

  • void

Exceptions

NameException ClassDescription
Illegal operationExtensionInvalidOperationExceptionWhen executed against a connector of a tree diagram
When executed against a connector of a feature tree diagram