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

L'objet graphique stylisé du document ouvert.
## Constructeurs

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

| Méthode | Description |
| --- | --- |
| [getStyle()](#getStyle--) | Obtient ou définit le style. |
| [setStyle(OdGraphicStyle value)](#setStyle-com.aspose.imaging.fileformats.opendocument.objects.OdGraphicStyle-) | Obtient ou définit le style. |
| [getRectangle()](#getRectangle--) | Obtient ou définit le rectangle. |
| [setRectangle(RectangleF value)](#setRectangle-com.aspose.imaging.RectangleF-) | Obtient ou définit le rectangle. |
### OdStyledObject(OdObject parent) {#OdStyledObject-com.aspose.imaging.fileformats.opendocument.OdObject-}
```
public OdStyledObject(OdObject parent)
```


Initialise une nouvelle instance de la classe `OdStyledObject`.

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

### getStyle() {#getStyle--}
```
public OdGraphicStyle getStyle()
```


Obtient ou définit le style.

**Returns:**
[OdGraphicStyle](../../com.aspose.imaging.fileformats.opendocument.objects/odgraphicstyle) - The style.
### setStyle(OdGraphicStyle value) {#setStyle-com.aspose.imaging.fileformats.opendocument.objects.OdGraphicStyle-}
```
public void setStyle(OdGraphicStyle value)
```


Obtient ou définit le style.

**Parameters:**
| Paramètre | Type | Description |
| --- | --- | --- |
| value | [OdGraphicStyle](../../com.aspose.imaging.fileformats.opendocument.objects/odgraphicstyle) | Le style. |

### getRectangle() {#getRectangle--}
```
public RectangleF getRectangle()
```


Obtient ou définit le rectangle.

**Returns:**
[RectangleF](../../com.aspose.imaging/rectanglef) - The rectangle.
### setRectangle(RectangleF value) {#setRectangle-com.aspose.imaging.RectangleF-}
```
public void setRectangle(RectangleF value)
```


Obtient ou définit le rectangle.

**Parameters:**
| Paramètre | Type | Description |
| --- | --- | --- |
| value | [RectangleF](../../com.aspose.imaging/rectanglef) | Le rectangle. |

