CdrGradientStop
Inheritance: java.lang.Object
public class CdrGradientStop
The cdr gradient stop
Constructors
| Constructor | Description |
|---|---|
| CdrGradientStop() |
Methods
| Method | Description |
|---|---|
| getColor() | Gets the color. |
| setColor(CdrColor value) | Sets the color. |
| getOffset() | Gets the offset. |
| setOffset(double value) | Sets the offset. |
CdrGradientStop()
public CdrGradientStop()
getColor()
public final CdrColor getColor()
Gets the color.
Returns: CdrColor - the color.
setColor(CdrColor value)
public final void setColor(CdrColor value)
Sets the color.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | CdrColor | the color. |
getOffset()
public final double getOffset()
Gets the offset.
Returns: double - the offset.
setOffset(double value)
public final void setOffset(double value)
Sets the offset.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | double | the offset. |