GradientModel API in JavaScript (ES5) Diagram API control
Interface for a class Gradient
Properties
id
string
Defines the id of gradient
stops
StopModel[]
Defines the stop collection of gradient
type
string
Defines the type of gradient
- Linear - Sets the type of the gradient as Linear
- Radial - Sets the type of the gradient as Radial