Pattern background. Default: the fill color with fillmode: 'overlay', else transparent.
fgcolor?
string
undefined
Pattern color. Default: the fill color with fillmode: 'replace', else white or dark grey, whichever contrasts with bgcolor.
fgopacity?
number
undefined
Opacity of the pattern color. Default 0.5 with fillmode: 'overlay', else 1. Range: 0 – 1
fillmode?
"replace" | "overlay"
"replace"
'replace': the pattern in the fill color on bgcolor (default transparent) replaces the fill; 'overlay': the pattern is drawn over the fill color, in its contrast color at half opacity by default.