OptionalfillThe optional solid fill color, represented as a string (e.g., '#FF5733').
OptionalfillThe optional opacity level of the solid fill color, ranging from 0 (fully transparent) to 1 (fully opaque). Defaults to 1 if omitted.
OptionalfillThe optional gradient fill defined by a Gradient object.
OptionalfillThe optional reference to an external file for the fill color.
OptionalfillThe optional reference ID within the external file for the fill color.
OptionalfillThe optional image fill defined by an 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.