**Inheritance:**
java.lang.Object, [com.aspose.imaging.DisposableObject](../../com.aspose.imaging/disposableobject), [com.aspose.imaging.fileformats.cdr.objects.CdrObject](../../com.aspose.imaging.fileformats.cdr.objects/cdrobject), [com.aspose.imaging.fileformats.cdr.objects.CdrGraphicObject](../../com.aspose.imaging.fileformats.cdr.objects/cdrgraphicobject)
```
public class CdrRectangle extends CdrGraphicObject
```

The cdr rectangle
## Constructors

| Constructor | Description |
| --- | --- |
| [CdrRectangle()](#CdrRectangle--) |  |
## Methods

| Method | Description |
| --- | --- |
| [getR3()](#getR3--) | Gets the r3. |
| [setR3(double value)](#setR3-double-) | Sets the r3. |
| [getR2()](#getR2--) | Gets the r2. |
| [setR2(double value)](#setR2-double-) | Sets the r2. |
| [getR1()](#getR1--) | Gets the r1. |
| [setR1(double value)](#setR1-double-) | Sets the r1. |
| [getR0()](#getR0--) | Gets the r0. |
| [setR0(double value)](#setR0-double-) | Sets the r0. |
| [getCornerType()](#getCornerType--) | Gets the type of the corner. |
| [setCornerType(int value)](#setCornerType-int-) | Sets the type of the corner. |
| [getScaleX()](#getScaleX--) | Gets the scale x. |
| [setScaleX(double value)](#setScaleX-double-) | Sets the scale x. |
| [getScaleY()](#getScaleY--) | Gets the scale y. |
| [setScaleY(double value)](#setScaleY-double-) | Sets the scale y. |
### CdrRectangle() {#CdrRectangle--}
```
public CdrRectangle()
```


### getR3() {#getR3--}
```
public final double getR3()
```


Gets the r3.

**Returns:**
double - the r3.
### setR3(double value) {#setR3-double-}
```
public final void setR3(double value)
```


Sets the r3.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | double | the r3. |

### getR2() {#getR2--}
```
public final double getR2()
```


Gets the r2.

**Returns:**
double - the r2.
### setR2(double value) {#setR2-double-}
```
public final void setR2(double value)
```


Sets the r2.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | double | the r2. |

### getR1() {#getR1--}
```
public final double getR1()
```


Gets the r1.

**Returns:**
double - the r1.
### setR1(double value) {#setR1-double-}
```
public final void setR1(double value)
```


Sets the r1.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | double | the r1. |

### getR0() {#getR0--}
```
public final double getR0()
```


Gets the r0.

**Returns:**
double - the r0.
### setR0(double value) {#setR0-double-}
```
public final void setR0(double value)
```


Sets the r0.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | double | the r0. |

### getCornerType() {#getCornerType--}
```
public final int getCornerType()
```


Gets the type of the corner.

**Returns:**
int - the type of the corner.
### setCornerType(int value) {#setCornerType-int-}
```
public final void setCornerType(int value)
```


Sets the type of the corner.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | the type of the corner. |

### getScaleX() {#getScaleX--}
```
public final double getScaleX()
```


Gets the scale x.

**Returns:**
double - the scale x.
### setScaleX(double value) {#setScaleX-double-}
```
public final void setScaleX(double value)
```


Sets the scale x.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | double | the scale x. |

### getScaleY() {#getScaleY--}
```
public final double getScaleY()
```


Gets the scale y.

**Returns:**
double - the scale y.
### setScaleY(double value) {#setScaleY-double-}
```
public final void setScaleY(double value)
```


Sets the scale y.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | double | the scale y. |

