GradientModel API in React Diagram API component
Interface for a class Gradient
Properties
id
string
Defines the id of gradient
stops
StopModel[]
Defines the stop collection of gradient
type
GradientType
Defines the type of gradient
- Linear - Sets the type of the gradient as Linear
- Radial - Sets the type of the gradient as Radial