GradientModel

23 Sep 20251 minute to read

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