Skip to content

API reference / Common / Engine types / PaintFill

Type Alias: PaintFill ​

ts
type PaintFill = 
  | "none"
  | {
  solid: PaintColor;
}
  | {
  gradient: PaintGradientFill;
}
  | {
  pattern: PaintPatternFill;
}
  | {
  blip: PaintBlipFill;
}
  | "group";

A fill: how a shape, line, text, or background is painted.

Maps the EG_FillProperties choice group; each variant is one of its member elements.