modern-pdf-lib / generateCheckboxAppearance
Function: generateCheckboxAppearance()
generateCheckboxAppearance(
options):PdfStream
Defined in: src/form/fieldAppearance.ts:211
Generate the appearance stream for a checkbox — checked state.
Renders a checkmark (a simple cross/tick path) inside the widget rectangle when checked, or an empty box when unchecked.