**Inheritance:**
java.lang.Object, [com.aspose.imaging.fileformats.opendocument.OdObject](../../com.aspose.imaging.fileformats.opendocument/odobject), [com.aspose.imaging.fileformats.opendocument.objects.graphic.OdGraphicObject](../../com.aspose.imaging.fileformats.opendocument.objects.graphic/odgraphicobject)
```
public class OdLineTo extends OdGraphicObject
```

The enhanced lineTo
## Constructors

| Constructor | Description |
| --- | --- |
| [OdLineTo(OdObject parent)](#OdLineTo-com.aspose.imaging.fileformats.opendocument.OdObject-) | Initializes a new instance of the `OdLineTo` class. |
## Methods

| Method | Description |
| --- | --- |
| [getCoordinates()](#getCoordinates--) | Gets or sets the coordinates. |
| [setCoordinates(PointF value)](#setCoordinates-com.aspose.imaging.PointF-) | Gets or sets the coordinates. |
| [getVertical()](#getVertical--) | Gets or sets a value indicating whether this `OdLineTo` is vertical. |
| [setVertical(boolean value)](#setVertical-boolean-) | Gets or sets a value indicating whether this `OdLineTo` is vertical. |
| [getHorizontal()](#getHorizontal--) | Gets or sets a value indicating whether this `OdLineTo` is vertical. |
| [setHorizontal(boolean value)](#setHorizontal-boolean-) | Gets or sets a value indicating whether this `OdLineTo` is vertical. |
### OdLineTo(OdObject parent) {#OdLineTo-com.aspose.imaging.fileformats.opendocument.OdObject-}
```
public OdLineTo(OdObject parent)
```


Initializes a new instance of the `OdLineTo` class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| parent | [OdObject](../../com.aspose.imaging.fileformats.opendocument/odobject) | The parent. |

### getCoordinates() {#getCoordinates--}
```
public PointF getCoordinates()
```


Gets or sets the coordinates.

**Returns:**
[PointF](../../com.aspose.imaging/pointf) - The coordinates.
### setCoordinates(PointF value) {#setCoordinates-com.aspose.imaging.PointF-}
```
public void setCoordinates(PointF value)
```


Gets or sets the coordinates.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [PointF](../../com.aspose.imaging/pointf) | The coordinates. |

### getVertical() {#getVertical--}
```
public boolean getVertical()
```


Gets or sets a value indicating whether this `OdLineTo` is vertical.

**Returns:**
boolean - `true` if vertical; otherwise, `false`.
### setVertical(boolean value) {#setVertical-boolean-}
```
public void setVertical(boolean value)
```


Gets or sets a value indicating whether this `OdLineTo` is vertical.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean | `true` if vertical; otherwise, `false`. |

### getHorizontal() {#getHorizontal--}
```
public boolean getHorizontal()
```


Gets or sets a value indicating whether this `OdLineTo` is vertical.

**Returns:**
boolean - `true` if vertical; otherwise, `false`.
### setHorizontal(boolean value) {#setHorizontal-boolean-}
```
public void setHorizontal(boolean value)
```


Gets or sets a value indicating whether this `OdLineTo` is vertical.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean | `true` if vertical; otherwise, `false`. |

