Interface: PatternFill
A pattern fill (a:pattFill): a two-colour preset hatch. The write-side fill: { type: 'pattern', pattern: { preset, fgColor, bgColor } } emits the same element, so the preset name and both colours round-trip.
Properties
background
background:
ColorRef
Background colour (a:bgClr); every field is null when the pattern states none.
foreground
foreground:
ColorRef
Foreground colour (a:fgClr); every field is null when the pattern states none.
preset
preset:
string|null
Preset pattern name (@prst, e.g. pct50/diagCross/ltUpDiag), or null when unset.