sempdf v1.9.1Interfaces
Interface: PlacedTextBlockResult
sempdf / PlacedTextBlockResult
Defined in: src/types.ts:1150
Result of PdfPage.placeTextBlock: the drawn block metrics plus the next y to continue at.
Extends
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
endY | number | The y below the drawn block — where the next element can start (accounts for the page origin). | - | src/types.ts:1152 |
height | number | Total height in PDF points (line count × line height). | BlockTextMetrics.height | src/types.ts:1138 |
lineCount | number | Number of lines after wrapping. | BlockTextMetrics.lineCount | src/types.ts:1140 |
width | number | Width of the longest rendered line in PDF points. | BlockTextMetrics.width | src/types.ts:1136 |