IGradientStop
Type interface
Represents an object describing color switching point in a gradiend.
Sources
IGradientStop is an interface: it describes a shape of data and is not imported on its own.
Properties
colorType
ColorColor.
offsetType
numberOffset 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.
opacityType
numberTransparency of the color. 0 - completely transparent, 1 - fully opaque.