IGradientStop

Type interface

Represents an object describing color switching point in a gradiend.

Inheritance

IGradientStop does not extend any other symbol.

IGradientStop is not extended by any other symbol.

Properties

color
#

Type Color

Color.

offset
#

Type number

Offset defines where in the gradient the color should kick in. Values from 0 to 1 are possible with 0 meaning start, 0.5 half-way through the gradient, etc.

opacity
#

Type number

Transparency of the color. 0 - completely transparent, 1 - fully opaque.