Search results

Gradient API in JavaScript Drawing API control

Paints the node with a smooth transition from one color to another color

Properties

id

string

Defines the id of gradient

Defaults to

stops

StopModel[]

Defines the stop collection of gradient

Defaults to []

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

Defaults to ‘None’