PdfTextSpan

data class PdfTextSpan(val text: String, val font: PdfFont, val fontSize: Double, val origin: <Error class: unknown class><Double, Double>, val bounds: Rectangle)

One renderer-drawText worth of glyphs that share font, size, and baseline. Position is the device-space origin (where the baseline starts).

Constructors

Link copied to clipboard
constructor(text: String, font: PdfFont, fontSize: Double, origin: <Error class: unknown class><Double, Double>, bounds: Rectangle)

Properties

Link copied to clipboard

Approximate bounding box (baseline + ascender heuristic).

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val origin: <Error class: unknown class><Double, Double>

Baseline-space origin in PDF user units.

Link copied to clipboard