Connection class

Connection class

Contains elements for one connection point defined for the shape.

The Connection type exposes the following members:

Constructors

ConstructorDescription
Connection()Constructor.

Properties

PropertyDescription
nameThe name of the element.
name_uThe universal name of the element.
idThe unique ID of the element within its parent element.
ixThe zero-based index of the element within its parent element.
xSpecifies an x-coordinate on a shape in local coordinates.
ySpecifies a y-coordinate on a shape in local coordinates. Local coordinates are those whose frame of reference is the shape, instead of the page.
dir_xSpecifies the x-component for the required alignment vector of a matching connection point. The DirX element is also used to orient the attached leg of a dynamic connector.
dir_ySpecifies the y-component for the required alignment vector of a matching connection point. The DirY element is also used to orient the attached leg of a dynamic connector.
typeSpecifies various types, based on the element in which it is contained.
auto_genSpecifies if the connection point is generated automatically. A value of 1 indicates that the connection point is generated automatically.
promptContains varying prompt information, based on the element in which it is contained.

Methods

MethodDescription
clone()Creates deep copy of this instance.

See Also