**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), [com.aspose.imaging.fileformats.opendocument.objects.graphic.OdStyledObject](../../com.aspose.imaging.fileformats.opendocument.objects.graphic/odstyledobject)
```
public class OdConnector extends OdStyledObject
```

The connector
## Constructors

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

| Method | Description |
| --- | --- |
| [getPathCommands()](#getPathCommands--) | Gets or sets the path commands. |
| [setPathCommands(OdGraphicObject[] value)](#setPathCommands-com.aspose.imaging.fileformats.opendocument.objects.graphic.OdGraphicObject---) | Gets or sets the path commands. |
| [getPoint1()](#getPoint1--) | Gets or sets the point1. |
| [setPoint1(PointF value)](#setPoint1-com.aspose.imaging.PointF-) | Gets or sets the point1. |
| [getPoint2()](#getPoint2--) | Gets or sets the point2. |
| [setPoint2(PointF value)](#setPoint2-com.aspose.imaging.PointF-) | Gets or sets the point2. |
### OdConnector(OdObject parent) {#OdConnector-com.aspose.imaging.fileformats.opendocument.OdObject-}
```
public OdConnector(OdObject parent)
```


Initializes a new instance of the `OdConnector` class.

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

### getPathCommands() {#getPathCommands--}
```
public OdGraphicObject[] getPathCommands()
```


Gets or sets the path commands.

**Returns:**
com.aspose.imaging.fileformats.opendocument.objects.graphic.OdGraphicObject[] - The path commands.
### setPathCommands(OdGraphicObject[] value) {#setPathCommands-com.aspose.imaging.fileformats.opendocument.objects.graphic.OdGraphicObject---}
```
public void setPathCommands(OdGraphicObject[] value)
```


Gets or sets the path commands.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [OdGraphicObject\[\]](../../com.aspose.imaging.fileformats.opendocument.objects.graphic/odgraphicobject) | The path commands. |

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


Gets or sets the point1.

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


Gets or sets the point1.

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

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


Gets or sets the point2.

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


Gets or sets the point2.

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

