PdfTextBlock

data class PdfTextBlock(val bounds: Rectangle, val lines: List<PdfTextLine>)

One paragraph-ish chunk: a vertical run of lines with no big gap. Block boundaries fall where vertical spacing exceeds GAP_TO_NEW_BLOCK × the median line height — heuristic, not authoritative, but matches what readers consider "paragraph breaks" in the absence of structure tagging.

Constructors

Link copied to clipboard
constructor(bounds: Rectangle, lines: List<PdfTextLine>)

Properties

Link copied to clipboard
Link copied to clipboard