FillOptions

The configuration options for the Shape fill.

color? string

The fill color in any of the following formats.

Format Description
red The basic or extended CSS Color name
#ff0000 The Hex RGB value
rgb(255, 0, 0) The RGB value

Specifying 'none', 'transparent' or '' (an empty string) clears the fill.

opacity? number

The fill opacity. Ranges from zero (completely transparent) to one (completely opaque).