Interface ITextLine
interface ITextLine
Extends com.amazon.apmf.IStandard
Represents a single laid-out line of text within a paragraph.
This interface provides access to line-level information after text layout
has been performed, including the range
of characters from the source text that it contains.
Methods
getTrimmedStartIndex()
u64 getTrimmedStartIndex()
Returns the inclusive start index of the trimmed text range,
removing start spaces in line.
Returns
u64
The start index of the trimmed range.
getTrimmedEndIndex()
u64 getTrimmedEndIndex()
Returns the inclusive end index of the trimmed text range,
removing end spaces in line.
Returns
u64
The end index of the trimmed range.

