
## Control class

Contains elements for the x- and y-coordinates of each control handle defined for a shape, and elements that specify the way the control handle should behave.

```js
new Control()
```

Constructor.

## Methods

| Name | Description |
| --- | --- |
| [canGlue()](#canglue) | Determines whether a control handle can be glued to other shapes. |
| [deepClone()](#deepclone) | Creates deep copy of this instance. |
| [getDel()](#getdel) | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| [getID()](#getid) | The unique ID of the element within its parent element. |
| [getIX()](#getix) | The zero-based index of the element within its parent element. |
| [getName()](#getname) | The name of the element. |
| [getNameU()](#getnameu) | The universal name of the element. |
| [getPrompt()](#getprompt) | Prompt element specifies descriptive text that appears as a tool tip when the mouse pointer is paused over a shape's con |
| [getX()](#getx) | The x-coordinate that indicates the location of a shape's control handle. |
| [getXCon()](#getxcon) | Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved. |
| [getXDyn()](#getxdyn) | Specifies the x-coordinate for a control handle's anchor point in local coordinates. The anchor point is used for rubber |
| [getY()](#gety) | The y-coordinate that indicates the location of a shape's control handle. |
| [getYCon()](#getycon) | Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved. |
| [getYDyn()](#getydyn) | Specifies the y-coordinate for a control handle's anchor point in local coordinates. The anchor point is used for rubber |
| [setCanGlue()](#setcanglue) | Determines whether a control handle can be glued to other shapes. |
| [setDel()](#setdel) | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| [setID()](#setid) | The unique ID of the element within its parent element. |
| [setIX()](#setix) | The zero-based index of the element within its parent element. |
| [setName()](#setname) | The name of the element. |
| [setNameU()](#setnameu) | The universal name of the element. |
| [setPrompt()](#setprompt) | Prompt element specifies descriptive text that appears as a tool tip when the mouse pointer is paused over a shape's con |
| [setX()](#setx) | The x-coordinate that indicates the location of a shape's control handle. |
| [setXCon()](#setxcon) | Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved. |
| [setXDyn()](#setxdyn) | Specifies the x-coordinate for a control handle's anchor point in local coordinates. The anchor point is used for rubber |
| [setY()](#sety) | The y-coordinate that indicates the location of a shape's control handle. |
| [setYCon()](#setycon) | Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved. |
| [setYDyn()](#setydyn) | Specifies the y-coordinate for a control handle's anchor point in local coordinates. The anchor point is used for rubber |

### canGlue() {#canglue}

Determines whether a control handle can be glued to other shapes.

### deepClone() {#deepclone}

Creates deep copy of this instance.

**Returns:** Object — `Object`

### getDel() {#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.

### getID() {#getid}

The unique ID of the element within its parent element.

### getIX() {#getix}

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

### getName() {#getname}

The name of the element.

### getNameU() {#getnameu}

The universal name of the element.

### getPrompt() {#getprompt}

Prompt element specifies descriptive text that appears as a tool tip when the mouse pointer is paused over a shape's control handle.

### getX() {#getx}

The x-coordinate that indicates the location of a shape's control handle.

### getXCon() {#getxcon}

Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.

### getXDyn() {#getxdyn}

Specifies the x-coordinate for a control handle's anchor point in local coordinates. The anchor point is used for rubber-banding during dynamics.

### getY() {#gety}

The y-coordinate that indicates the location of a shape's control handle.

### getYCon() {#getycon}

Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.

### getYDyn() {#getydyn}

Specifies the y-coordinate for a control handle's anchor point in local coordinates. The anchor point is used for rubber-banding during dynamics.

### setCanGlue() {#setcanglue}

Determines whether a control handle can be glued to other shapes.

### setDel() {#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() {#setid}

The unique ID of the element within its parent element.

### setIX() {#setix}

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

### setName() {#setname}

The name of the element.

### setNameU() {#setnameu}

The universal name of the element.

### setPrompt() {#setprompt}

Prompt element specifies descriptive text that appears as a tool tip when the mouse pointer is paused over a shape's control handle.

### setX() {#setx}

The x-coordinate that indicates the location of a shape's control handle.

### setXCon() {#setxcon}

Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.

### setXDyn() {#setxdyn}

Specifies the x-coordinate for a control handle's anchor point in local coordinates. The anchor point is used for rubber-banding during dynamics.

### setY() {#sety}

The y-coordinate that indicates the location of a shape's control handle.

### setYCon() {#setycon}

Specifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.

### setYDyn() {#setydyn}

Specifies the y-coordinate for a control handle's anchor point in local coordinates. The anchor point is used for rubber-banding during dynamics.
