GradientStop
GradientStop class
Represents the gradient stop.
class GradientStop;
Properties
Property | Type | Description |
---|---|---|
position | number | The position of the stop. |
cellsColor | CellsColor | Readonly. Gets the color of this gradient stop. |
transparency | number | Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear). |
Methods
Method | Description |
---|---|
getPosition() | @deprecated. Please use the ‘position’ property instead. The position of the stop. |
setPosition(number) | @deprecated. Please use the ‘position’ property instead. The position of the stop. |
getCellsColor() | @deprecated. Please use the ‘cellsColor’ property instead. Gets the color of this gradient stop. |
getTransparency() | @deprecated. Please use the ’transparency’ property instead. Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear). |
setTransparency(number) | @deprecated. Please use the ’transparency’ property instead. 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. |
position
The position of the stop.
position : number;
cellsColor
Readonly. Gets the color of this gradient stop.
cellsColor : CellsColor;
transparency
Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).
transparency : number;
getPosition()
@deprecated. Please use the ‘position’ property instead. The position of the stop.
getPosition() : number;
setPosition(number)
@deprecated. Please use the ‘position’ property instead. The position of the stop.
setPosition(value: number) : void;
Parameters:
Parameter | Type | Description |
---|---|---|
value | number | The value to set. |
getCellsColor()
@deprecated. Please use the ‘cellsColor’ property instead. Gets the color of this gradient stop.
getCellsColor() : CellsColor;
Returns
getTransparency()
@deprecated. Please use the ’transparency’ property instead. 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)
@deprecated. Please use the ’transparency’ property instead. 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;