Optional
fillThe optional solid fill color, represented as a string (e.g., '#FF5733').
Optional
fillThe optional opacity level of the solid fill color, ranging from 0 (fully transparent) to 1 (fully opaque). Defaults to 1 if omitted.
Optional
fillThe optional gradient fill defined by a Gradient object.
Optional
fillThe optional reference to an external file for the fill color.
Optional
fillThe optional reference ID within the external file for the fill color.
Optional
fillThe optional image fill defined by a ImageData object.
Represents fill properties in Penpot. You can add a fill to any shape except for groups. This interface includes properties for defining solid color fills, gradient fills, and image fills.