sempdf
sempdf v1.9.1Type aliases

Type Alias: TextRenderMode

sempdf v1.9.1


sempdf / TextRenderMode

type TextRenderMode = "fill" | "stroke" | "fillStroke" | "invisible";

Defined in: src/types.ts:834

Glyph painting mode (the PDF Tr text rendering operator):

  • "fill" — fill glyphs with the text color (default).
  • "stroke" — outline glyphs with the stroke color/width (no fill).
  • "fillStroke" — fill and outline.
  • "invisible" — render nothing (e.g. text over a scanned image for search).