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

El objeto rectángulo
## Constructores

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

| Método | Descripción |
| --- | --- |
| [getCornerRadius()](#getCornerRadius--) | Obtiene o establece el radio de la esquina. |
| [setCornerRadius(float value)](#setCornerRadius-float-) | Obtiene o establece el radio de la esquina. |
### OdRectangle(OdObject parent) {#OdRectangle-com.aspose.imaging.fileformats.opendocument.OdObject-}
```
public OdRectangle(OdObject parent)
```


Inicializa una nueva instancia de la clase `OdRectangle`.

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

### getCornerRadius() {#getCornerRadius--}
```
public float getCornerRadius()
```


Obtiene o establece el radio de la esquina.

**Returns:**
float - El radio de la esquina.
### setCornerRadius(float value) {#setCornerRadius-float-}
```
public void setCornerRadius(float value)
```


Obtiene o establece el radio de la esquina.

**Parameters:**
| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| valor | float | El radio de la esquina. |

