IGradientStop
public interface IGradientStop
Represents a gradient format.
Methods
| Method | Description |
|---|---|
| getPosition() | Returns or sets the position (0..1) of a gradient stop. |
| setPosition(float value) | Returns or sets the position (0..1) of a gradient stop. |
| getColor() | Returns the color of a gradient stop. |
getPosition()
public abstract float getPosition()
Returns or sets the position (0..1) of a gradient stop. Read/write float.
Returns: float
setPosition(float value)
public abstract void setPosition(float value)
Returns or sets the position (0..1) of a gradient stop. Read/write float.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | float |
getColor()
public abstract IColorFormat getColor()
Returns the color of a gradient stop. Read-only IColorFormat.
Returns: IColorFormat