sempdf v1.9.1Interfaces
Interface: ListOptions
sempdf / ListOptions
Defined in: src/types.ts:2477
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:2501 |
bullet? | string | Bullet text used for unordered list items. | src/types.ts:2509 |
characterSpacing? | number | Additional spacing between characters in PDF points. | src/types.ts:2495 |
color? | ColorInput | Color used for drawing, text, or highlighting. | src/types.ts:2493 |
direction? | TextDirection | Text direction used for shaping and layout. | src/types.ts:2489 |
fallbackFonts? | PdfFont[] | Fallback fonts used when the primary font lacks a glyph. | src/types.ts:2487 |
font? | PdfFont | Font used to render text. | src/types.ts:2485 |
fontSize? | number | Font size in PDF points. | src/types.ts:2491 |
indent? | number | List indentation in PDF points. | src/types.ts:2513 |
itemSpacing? | number | Vertical spacing between list items in PDF points. | src/types.ts:2511 |
kerning? | boolean | Whether kerning should be applied where supported. | src/types.ts:2503 |
labelGap? | number | Gap between list labels and item bodies in PDF points. | src/types.ts:2515 |
lineHeight? | number | Line height in PDF points. | src/types.ts:2499 |
ordered? | boolean | Whether to render the list with ordered labels. | src/types.ts:2505 |
startAt? | number | Starting number for ordered output. | src/types.ts:2507 |
width | number | Width in PDF points. | src/types.ts:2483 |
wordSpacing? | number | Additional spacing between words in PDF points. | src/types.ts:2497 |
x | number | Horizontal position in PDF points. | src/types.ts:2479 |
y | number | Vertical position in PDF points. | src/types.ts:2481 |