Specifies the type of gradient.
The X-coordinate of the starting point of the gradient.
The Y-coordinate of the starting point of the gradient.
The X-coordinate of the ending point of the gradient.
The Y-coordinate of the ending point of the gradient.
The width of the gradient. For radial gradients, this could be interpreted as the radius.
An array of color stops that define the gradient.
Represents a gradient configuration in Penpot. A gradient can be either linear or radial and includes properties to define its shape, position, and color stops.