modern-pdf-lib / generateFreeTextAppearance
Function: generateFreeTextAppearance()
generateFreeTextAppearance(
annot):PdfStream
Defined in: src/annotation/appearanceGenerator.ts:525
Generate appearance stream for a FreeText annotation.
This requires access to the annotation's text, default appearance string, and alignment. We accept the annotation object directly to access these properties.