**Inheritance:**
java.lang.Object, [com.aspose.imaging.fileformats.opendocument.objects.brush.OdBrush](../../com.aspose.imaging.fileformats.opendocument.objects.brush/odbrush)
```
public class OdGradientBrush extends OdBrush
```

The gradient fill
## Constructors

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

| Method | Description |
| --- | --- |
| [getGradientStyle()](#getGradientStyle--) | Gets the gradient style. |
| [setGradientStyle(int value)](#setGradientStyle-int-) | Sets the gradient style. |
| [getStartColor()](#getStartColor--) | Gets the start color. |
| [setStartColor(int value)](#setStartColor-int-) | Sets the start color. |
| [getEndColor()](#getEndColor--) | Gets the end color. |
| [setEndColor(int value)](#setEndColor-int-) | Sets the end color. |
| [getAngle()](#getAngle--) | Gets the angle. |
| [setAngle(float value)](#setAngle-float-) | Sets the angle. |
| [getBrushStyle()](#getBrushStyle--) | Gets the style. |
| [deepClone()](#deepClone--) | Clone this instance. |
### OdGradientBrush() {#OdGradientBrush--}
```
public OdGradientBrush()
```


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


Gets the gradient style.

**Returns:**
int - the gradient style.
### setGradientStyle(int value) {#setGradientStyle-int-}
```
public final void setGradientStyle(int value)
```


Sets the gradient style.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | the gradient style. |

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


Gets the start color.

**Returns:**
int - the start color.
### setStartColor(int value) {#setStartColor-int-}
```
public final void setStartColor(int value)
```


Sets the start color.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | the start color. |

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


Gets the end color.

**Returns:**
int - the end color.
### setEndColor(int value) {#setEndColor-int-}
```
public final void setEndColor(int value)
```


Sets the end color.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | the end color. |

### getAngle() {#getAngle--}
```
public final float getAngle()
```


Gets the angle.

**Returns:**
float - the angle.
### setAngle(float value) {#setAngle-float-}
```
public final void setAngle(float value)
```


Sets the angle.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | float | the angle. |

### getBrushStyle() {#getBrushStyle--}
```
public int getBrushStyle()
```


Gets the style.

**Returns:**
int - the style.
### deepClone() {#deepClone--}
```
public Object deepClone()
```


Clone this instance.

**Returns:**
java.lang.Object - The return new instance of source brush
