Search results

LinearGradient

Paints the node with linear color transitions

Properties

id

string

Defines the id of gradient

Defaults to

stops

StopModel[]

Defines the stop collection of gradient

Defaults to []

type

string

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’

x1

number

Defines the x1 value of linear gradient

Defaults to 0

x2

number

Defines the x2 value of linear gradient

Defaults to 0

y1

number

Defines the y1 value of linear gradient

Defaults to 0

y2

number

Defines the y2 value of linear gradient

Defaults to 0