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

Le polygone
## Constructeurs

| Constructeur | Description |
| --- | --- |
| [OdPolygon(OdObject parent)](#OdPolygon-com.aspose.imaging.fileformats.opendocument.OdObject-) | Initialise une nouvelle instance de la classe `OdPolygon`. |
## Méthodes

| Méthode | Description |
| --- | --- |
| [getPoints()](#getPoints--) | Obtient ou définit les points. |
| [setPoints(PointF[] value)](#setPoints-com.aspose.imaging.PointF---) | Obtient ou définit les points. |
### OdPolygon(OdObject parent) {#OdPolygon-com.aspose.imaging.fileformats.opendocument.OdObject-}
```
public OdPolygon(OdObject parent)
```


Initialise une nouvelle instance de la classe `OdPolygon`.

**Parameters:**
| Paramètre | Type | Description |
| --- | --- | --- |
| parent | [OdObject](../../com.aspose.imaging.fileformats.opendocument/odobject) | Le parent. |

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


Obtient ou définit les points.

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


Obtient ou définit les points.

**Parameters:**
| Paramètre | Type | Description |
| --- | --- | --- |
| value | [PointF\[\]](../../com.aspose.imaging/pointf) | Les points. |

