TextElement

constructor(locator: Locator, role: Content.TextElement.Role, segments: List<Content.TextElement.Segment>, attributes: List<Content.Attribute<*>> = emptyList())

Parameters

role

Purpose of this element in the broader context of the document.

segments

Ranged portions of text with associated attributes.