Search results

LinearGradientModel API in Angular Diagram API component

Interface for a class LinearGradient

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

x1

number

Defines the x1 value of linear gradient

x2

number

Defines the x2 value of linear gradient

y1

number

Defines the y1 value of linear gradient

y2

number

Defines the y2 value of linear gradient