Appearance
zeropdf / ListOptions
Interface: ListOptions
Defined in: src/types.ts:1964
Options for rendering tagged ordered or unordered lists.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
align? | TextAlign | Horizontal alignment for laid-out content. | src/types.ts:1988 |
bullet? | string | Bullet text used for unordered list items. | src/types.ts:1996 |
characterSpacing? | number | Additional spacing between characters in PDF points. | src/types.ts:1982 |
color? | ColorInput | Color used for drawing, text, or highlighting. | src/types.ts:1980 |
direction? | TextDirection | Text direction used for shaping and layout. | src/types.ts:1976 |
fallbackFonts? | PdfFont[] | Fallback fonts used when the primary font lacks a glyph. | src/types.ts:1974 |
font? | PdfFont | Font used to render text. | src/types.ts:1972 |
fontSize? | number | Font size in PDF points. | src/types.ts:1978 |
indent? | number | List indentation in PDF points. | src/types.ts:2000 |
itemSpacing? | number | Vertical spacing between list items in PDF points. | src/types.ts:1998 |
kerning? | boolean | Whether kerning should be applied where supported. | src/types.ts:1990 |
labelGap? | number | Gap between list labels and item bodies in PDF points. | src/types.ts:2002 |
lineHeight? | number | Line height in PDF points. | src/types.ts:1986 |
ordered? | boolean | Whether to render the list with ordered labels. | src/types.ts:1992 |
startAt? | number | Starting number for ordered output. | src/types.ts:1994 |
width | number | Width in PDF points. | src/types.ts:1970 |
wordSpacing? | number | Additional spacing between words in PDF points. | src/types.ts:1984 |
x | number | Horizontal position in PDF points. | src/types.ts:1966 |
y | number | Vertical position in PDF points. | src/types.ts:1968 |