Use Two.Gradient as a base for gradients
devTwo.Gradient is the base class for constructing gradients in Two.js. It is not typically used directly, but rather serves as the foundation for specific gradient types like Two.LinearGradient and Two.RadialGradient.
To construct a gradient, you provide a list of Two.Stop objects which define the fill pattern.