Appearance
zeropdf / TextDefaults
Interface: TextDefaults
Defined in: src/types.ts:433
Document-wide text defaults applied to PdfPage.text and PdfPage.textBlock when the corresponding option is omitted on the call. Per-call options always take precedence.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
bold? | boolean | Default bold flag. | src/types.ts:437 |
color? | ColorInput | Default text color. | src/types.ts:443 |
direction? | TextDirection | Default text direction. | src/types.ts:447 |
font? | PdfFont | Default font (built-in name, embedded handle, or registered family name). | src/types.ts:435 |
fontSize? | number | Default font size in PDF points. | src/types.ts:441 |
italic? | boolean | Default italic flag. | src/types.ts:439 |
kerning? | boolean | Default kerning behavior. | src/types.ts:445 |