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

The cdr gradient stop
## Constructors

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

| Method | Description |
| --- | --- |
| [getColor()](#getColor--) | Gets the color. |
| [setColor(CdrColor value)](#setColor-com.aspose.imaging.fileformats.cdr.types.CdrColor-) | Sets the color. |
| [getOffset()](#getOffset--) | Gets the offset. |
| [setOffset(double value)](#setOffset-double-) | Sets the offset. |
### CdrGradientStop() {#CdrGradientStop--}
```
public CdrGradientStop()
```


### getColor() {#getColor--}
```
public final CdrColor getColor()
```


Gets the color.

**Returns:**
[CdrColor](../../com.aspose.imaging.fileformats.cdr.types/cdrcolor) - the color.
### setColor(CdrColor value) {#setColor-com.aspose.imaging.fileformats.cdr.types.CdrColor-}
```
public final void setColor(CdrColor value)
```


Sets the color.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [CdrColor](../../com.aspose.imaging.fileformats.cdr.types/cdrcolor) | the color. |

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


Gets the offset.

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


Sets the offset.

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

