TextLine
data class TextLine(val text: String, val width: Float, val baseline: Float, val height: Float, val justifiedWords: List<JustifiedWord> = emptyList())
One word-wrapped segment of text plus the position of its baseline relative to the top of the surrounding MeasuredText block.
Constructors
Properties
Link copied to clipboard
Word slices with pre-computed x-offsets when this line is fully justified (com.conamobile.pdfkmp.style.TextAlign.Justify); empty for every other alignment and for the last line of a paragraph, which stays start-aligned by typographic convention.