GradientStop

GradientStop class

Represents the gradient stop.

class GradientStop;

Properties

PropertyTypeDescription
positionnumberThe position of the stop.
cellsColorCellsColorReadonly. Gets the color of this gradient stop.
transparencynumberReturns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).

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;