GradientStop

GradientStop class

Represents the gradient stop.

Properties

NameTypeDescription
PositionNumberThe position of the stop.
CellsColorCellsColorGets 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).

GradientStop.Position property

The position of the stop.

Type: Number

GradientStop.CellsColor property

Gets the color of this gradient stop.

Type: CellsColor

GradientStop.Transparency property

Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).

Type: Number