**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
```

连接器
## 构造函数

| 构造函数 | 描述 |
| --- | --- |
| [OdConnector(OdObject parent)](#OdConnector-com.aspose.imaging.fileformats.opendocument.OdObject-) | 初始化 `OdConnector` 类的新实例。 |
## 方法

| 方法 | 描述 |
| --- | --- |
| [getPathCommands()](#getPathCommands--) | 获取或设置路径命令。 |
| [setPathCommands(OdGraphicObject[] value)](#setPathCommands-com.aspose.imaging.fileformats.opendocument.objects.graphic.OdGraphicObject---) | 获取或设置路径命令。 |
| [getPoint1()](#getPoint1--) | 获取或设置 point1。 |
| [setPoint1(PointF value)](#setPoint1-com.aspose.imaging.PointF-) | 获取或设置 point1。 |
| [getPoint2()](#getPoint2--) | 获取或设置 point2。 |
| [setPoint2(PointF value)](#setPoint2-com.aspose.imaging.PointF-) | 获取或设置 point2。 |
### OdConnector(OdObject parent) {#OdConnector-com.aspose.imaging.fileformats.opendocument.OdObject-}
```
public OdConnector(OdObject parent)
```


初始化 `OdConnector` 类的新实例。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| parent | [OdObject](../../com.aspose.imaging.fileformats.opendocument/odobject) | 父级。 |

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


获取或设置路径命令。

**Returns:**
com.aspose.imaging.fileformats.opendocument.objects.graphic.OdGraphicObject[] - 路径命令。
### setPathCommands(OdGraphicObject[] value) {#setPathCommands-com.aspose.imaging.fileformats.opendocument.objects.graphic.OdGraphicObject---}
```
public void setPathCommands(OdGraphicObject[] value)
```


获取或设置路径命令。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| value | [OdGraphicObject\[\]](../../com.aspose.imaging.fileformats.opendocument.objects.graphic/odgraphicobject) | 路径命令。 |

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


获取或设置 point1。

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


获取或设置 point1。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| value | [PointF](../../com.aspose.imaging/pointf) | 点1。 |

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


获取或设置 point2。

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


获取或设置 point2。

**Parameters:**
| 参数 | 类型 | 描述 |
| --- | --- | --- |
| value | [PointF](../../com.aspose.imaging/pointf) | 点2。 |

