IGradientStop

Type interface

Represents an object describing color switching point in a gradiend.

F

Click here for more info

Inheritance

IGradientStop does not extend any other symbol.

IGradientStop is not extended by any other symbol.

Properties

brighten
#

Type undefined | number

Sets brightness of the color.

Click here for more info

color
#

Type Color

Color.

lighten
#

Type undefined | number

Sets lightness of the color.

Click here for more info

offset
#

Type undefined | 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 undefined | number

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