Search results

GradientModel API in JavaScript (ES5) Drawing API control

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