GradientStop

GradientStop class

Represents the gradient stop.

class GradientStop;

Methods

MethodDescription
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).

getPosition()

The position of the stop.

getPosition() : number;

setPosition(number)

The position of the stop.

setPosition(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getCellsColor()

Gets the color of this gradient stop.

getCellsColor() : CellsColor;

Returns

CellsColor

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:

ParameterTypeDescription
valuenumberThe value to set.