
## LineTo class

Contains x- and y-coordinates of the ending vertex of a straight line segment. These coordinates are contained in the X and Y elements, respectively.

```js
new LineTo()
```

Creates an instance of the LineTo class.

## Methods

| Name | Description |
| --- | --- |
| [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 |
| [getIX()](#getix) | The zero-based index of the element within its parent element. |
| [getX()](#getx) | The x-coordinate of the ending vertex of a straight line segment. |
| [getY()](#gety) | The y-coordinate of the ending vertex of a straight line segment. |
| [setDel()](#setdel) | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| [setIX()](#setix) | The zero-based index of the element within its parent element. |
| [setX()](#setx) | The x-coordinate of the ending vertex of a straight line segment. |
| [setY()](#sety) | The y-coordinate of the ending vertex of a straight line segment. |

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

### getIX() {#getix}

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

### getX() {#getx}

The x-coordinate of the ending vertex of a straight line segment.

### getY() {#gety}

The y-coordinate of the ending vertex of a straight line segment.

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

### setIX() {#setix}

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

### setX() {#setx}

The x-coordinate of the ending vertex of a straight line segment.

### setY() {#sety}

The y-coordinate of the ending vertex of a straight line segment.
