**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 OdPolygon extends OdStyledObject
```

多边形
## 构造函数

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

| 方法 | 描述 |
| --- | --- |
| [getPoints()](#getPoints--) | 获取或设置点。 |
| [setPoints(PointF[] value)](#setPoints-com.aspose.imaging.PointF---) | 获取或设置点。 |
### OdPolygon(OdObject parent) {#OdPolygon-com.aspose.imaging.fileformats.opendocument.OdObject-}
```
public OdPolygon(OdObject parent)
```


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

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

### getPoints() {#getPoints--}
```
public PointF[] getPoints()
```


获取或设置点。

**Returns:**
com.aspose.imaging.PointF[] - 点。
### setPoints(PointF[] value) {#setPoints-com.aspose.imaging.PointF---}
```
public void setPoints(PointF[] value)
```


获取或设置点。

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

