MeasuredRichText
data class MeasuredRichText(val lines: List<RichLine>, val align: TextAlign, val paragraphWidth: Float, val size: Size, val resolvedDirection: TextDirection = TextDirection.Ltr) : MeasuredNode
Measurement result for a com.conamobile.pdfkmp.node.RichTextNode.
Mirrors MeasuredText but every line carries its own styled segments. Renderer treats this almost identically to MeasuredText except that it issues one drawText per segment instead of one per line.
Properties
Link copied to clipboard
Link copied to clipboard
Paragraph direction resolved against the spans' combined text. RTL flips what Start / End anchor to. Segment order within a line stays logical — uniform-style RTL paragraphs collapse to one segment per line, which the platform text engines render correctly; mixed-style RTL paragraphs may order segments LTR (documented limitation).