Skip to content
Spreadsheet Editor

PatternFill

type PatternFill = {
bg?: Color;
fg?: Color;
style?: FillPatternStyle;
type: "pattern";
};
Property Type Description
bg? Color Background color of the pattern.
fg? Color Foreground color of the pattern.
style? FillPatternStyle Pattern style defining the visual design (horizontal, vertical, diagonal, dots, etc.).
type "pattern" Type discriminator for pattern fills.