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

El objeto gráfico con estilo del documento open.
## Constructores

| Constructor | Descripción |
| --- | --- |
| [OdStyledObject(OdObject parent)](#OdStyledObject-com.aspose.imaging.fileformats.opendocument.OdObject-) | Inicializa una nueva instancia de la clase `OdStyledObject`. |
## Métodos

| Método | Descripción |
| --- | --- |
| [getStyle()](#getStyle--) | Obtiene o establece el estilo. |
| [setStyle(OdGraphicStyle value)](#setStyle-com.aspose.imaging.fileformats.opendocument.objects.OdGraphicStyle-) | Obtiene o establece el estilo. |
| [getRectangle()](#getRectangle--) | Obtiene o establece el rectángulo. |
| [setRectangle(RectangleF value)](#setRectangle-com.aspose.imaging.RectangleF-) | Obtiene o establece el rectángulo. |
### OdStyledObject(OdObject parent) {#OdStyledObject-com.aspose.imaging.fileformats.opendocument.OdObject-}
```
public OdStyledObject(OdObject parent)
```


Inicializa una nueva instancia de la clase `OdStyledObject`.

**Parameters:**
| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| parent | [OdObject](../../com.aspose.imaging.fileformats.opendocument/odobject) | El padre. |

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


Obtiene o establece el estilo.

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


Obtiene o establece el estilo.

**Parameters:**
| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| value | [OdGraphicStyle](../../com.aspose.imaging.fileformats.opendocument.objects/odgraphicstyle) | El estilo. |

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


Obtiene o establece el rectángulo.

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


Obtiene o establece el rectángulo.

**Parameters:**
| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| value | [RectangleF](../../com.aspose.imaging/rectanglef) | El rectángulo. |

