**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'oggetto grafico stilizzato del documento open.
## Costruttori

| Costruttore | Descrizione |
| --- | --- |
| [OdStyledObject(OdObject parent)](#OdStyledObject-com.aspose.imaging.fileformats.opendocument.OdObject-) | Inizializza una nuova istanza della classe `OdStyledObject`. |
## Metodi

| Metodo | Descrizione |
| --- | --- |
| [getStyle()](#getStyle--) | Ottiene o imposta lo stile. |
| [setStyle(OdGraphicStyle value)](#setStyle-com.aspose.imaging.fileformats.opendocument.objects.OdGraphicStyle-) | Ottiene o imposta lo stile. |
| [getRectangle()](#getRectangle--) | Ottiene o imposta il rettangolo. |
| [setRectangle(RectangleF value)](#setRectangle-com.aspose.imaging.RectangleF-) | Ottiene o imposta il rettangolo. |
### OdStyledObject(OdObject parent) {#OdStyledObject-com.aspose.imaging.fileformats.opendocument.OdObject-}
```
public OdStyledObject(OdObject parent)
```


Inizializza una nuova istanza della classe `OdStyledObject`.

**Parameters:**
| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| parent | [OdObject](../../com.aspose.imaging.fileformats.opendocument/odobject) | Il genitore. |

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


Ottiene o imposta lo stile.

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


Ottiene o imposta lo stile.

**Parameters:**
| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| value | [OdGraphicStyle](../../com.aspose.imaging.fileformats.opendocument.objects/odgraphicstyle) | Lo stile. |

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


Ottiene o imposta il rettangolo.

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


Ottiene o imposta il rettangolo.

**Parameters:**
| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| value | [RectangleF](../../com.aspose.imaging/rectanglef) | Il rettangolo. |

