new Connection()

Constructor.

Methods

deepClone() → Object

Creates deep copy of this instance.

Returns

Object 

getAutoGen()

Specifies if the connection point is generated automatically. A value of 1 indicates that the connection point is generated automatically.

getDel()

A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.

getDirX()

Specifies 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.

getDirY()

Specifies 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.

getID()

The unique ID of the element within its parent element.

getIX()

The zero-based index of the element within its parent element.

getName()

The name of the element.

getNameU()

The universal name of the element.

getPrompt()

Contains varying prompt information, based on the element in which it is contained.

getType()

Specifies various types, based on the element in which it is contained.

getX()

Specifies an x-coordinate on a shape in local coordinates.

getY()

Specifies a y-coordinate on a shape in local coordinates. Local coordinates are those whose frame of reference is the shape, instead of the page.

setDel()

A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.

setID()

The unique ID of the element within its parent element.

setIX()

The zero-based index of the element within its parent element.

setName()

The name of the element.

setNameU()

The universal name of the element.