Search results

RadialGradientModel API in JavaScript Drawing API control

Interface for a class RadialGradient

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