Search results

DiagramGradientModel API in Vue Diagram API component

Interface for a class DiagramGradient

Properties

cx

number

Defines the cx value of radial gradient

cy

number

Defines the cy value of radial gradient

fx

number

Defines the fx value of radial gradient

fy

number

Defines the fy value of radial gradient

id

string

Defines the id of gradient

r

number

Defines the r value of radial 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