
**Inheritance:**
java.lang.Object
```
public class GradientFill
```

Represents the gradient fill.
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getGradientAngle()](#getGradientAngle--) | Specifies the orientation of the fill color gradient |
| [getGradientDir()](#getGradientDir--) | Specifies the type of the fill color gradient |
| [getGradientEnabled()](#getGradientEnabled--) | Specifies whether the fill color gradient is visible. |
| [getGradientStops()](#getGradientStops--) | Represents the gradient stop collection. |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setGradientAngle(DoubleValue value)](#setGradientAngle-com.aspose.diagram.DoubleValue-) | For the description of this property, please see [getGradientAngle()](../../com.aspose.diagram/gradientfill\#getGradientAngle--) |
| [setGradientDir(IntValue value)](#setGradientDir-com.aspose.diagram.IntValue-) | For the description of this property, please see [getGradientDir()](../../com.aspose.diagram/gradientfill\#getGradientDir--) |
| [setGradientEnabled(BoolValue value)](#setGradientEnabled-com.aspose.diagram.BoolValue-) | For the description of this property, please see [getGradientEnabled()](../../com.aspose.diagram/gradientfill\#getGradientEnabled--) |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getGradientAngle() {#getGradientAngle--}
```
public DoubleValue getGradientAngle()
```


Specifies the orientation of the fill color gradient

**Returns:**
[DoubleValue](../../com.aspose.diagram/doublevalue)
### getGradientDir() {#getGradientDir--}
```
public IntValue getGradientDir()
```


Specifies the type of the fill color gradient

**Returns:**
[IntValue](../../com.aspose.diagram/intvalue)
### getGradientEnabled() {#getGradientEnabled--}
```
public BoolValue getGradientEnabled()
```


Specifies whether the fill color gradient is visible.

**Returns:**
[BoolValue](../../com.aspose.diagram/boolvalue)
### getGradientStops() {#getGradientStops--}
```
public GradientStopCollection getGradientStops()
```


Represents the gradient stop collection.

**Returns:**
[GradientStopCollection](../../com.aspose.diagram/gradientstopcollection)
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setGradientAngle(DoubleValue value) {#setGradientAngle-com.aspose.diagram.DoubleValue-}
```
public void setGradientAngle(DoubleValue value)
```


For the description of this property, please see [getGradientAngle()](../../com.aspose.diagram/gradientfill\#getGradientAngle--)

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [DoubleValue](../../com.aspose.diagram/doublevalue) |  |

### setGradientDir(IntValue value) {#setGradientDir-com.aspose.diagram.IntValue-}
```
public void setGradientDir(IntValue value)
```


For the description of this property, please see [getGradientDir()](../../com.aspose.diagram/gradientfill\#getGradientDir--)

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [IntValue](../../com.aspose.diagram/intvalue) |  |

### setGradientEnabled(BoolValue value) {#setGradientEnabled-com.aspose.diagram.BoolValue-}
```
public void setGradientEnabled(BoolValue value)
```


For the description of this property, please see [getGradientEnabled()](../../com.aspose.diagram/gradientfill\#getGradientEnabled--)

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [BoolValue](../../com.aspose.diagram/boolvalue) |  |

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

