Skip to content

API reference / Common / Engine types / GridFill

Type Alias: GridFill ​

ts
type GridFill = 
  | {
  pattern: {
     pattern?: GridPatternType;
     foreground?: GridColor;
     background?: GridColor;
  };
}
  | {
  gradient: GridGradientFill;
};

A cell fill — styleSheet/fills/fill (CT_Fill, §18.8.20), and the one a differential format carries, styleSheet/dxfs/dxf/fill: a pattern or a gradient. The paths below are given under styleSheet/fills/fill.