GradientStop
Contents
[
Hide
]GradientStop class
Represents the gradient stop.
class GradientStop;
Methods
Method | Description |
---|---|
getPosition() | The position of the stop. |
setPosition(number) | The position of the stop. |
getCellsColor() | Gets the color of this gradient stop. |
getTransparency() | Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear). |
setTransparency(number) | Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear). |
isNull() | Checks whether the implementation object is null. |
getPosition()
The position of the stop.
getPosition() : number;
setPosition(number)
The position of the stop.
setPosition(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
getCellsColor()
Gets the color of this gradient stop.
getCellsColor() : CellsColor;
Returns
getTransparency()
Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).
getTransparency() : number;
setTransparency(number)
Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).
setTransparency(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
isNull()
Checks whether the implementation object is null.
isNull() : boolean;