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

L'objet rectangle
## Constructeurs

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

| Méthode | Description |
| --- | --- |
| [getCornerRadius()](#getCornerRadius--) | Obtient ou définit le rayon du coin. |
| [setCornerRadius(float value)](#setCornerRadius-float-) | Obtient ou définit le rayon du coin. |
### OdRectangle(OdObject parent) {#OdRectangle-com.aspose.imaging.fileformats.opendocument.OdObject-}
```
public OdRectangle(OdObject parent)
```


Initialise une nouvelle instance de la classe `OdRectangle`.

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

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


Obtient ou définit le rayon du coin.

**Returns:**
float - Le rayon du coin.
### setCornerRadius(float value) {#setCornerRadius-float-}
```
public void setCornerRadius(float value)
```


Obtient ou définit le rayon du coin.

**Parameters:**
| Paramètre | Type | Description |
| --- | --- | --- |
| valeur | float | Le rayon du coin. |

