data class TextBoxSnapshot
(source)
Table of details of the post layout rendered text positions. The exact layout should not be regarded as stable and may change between versions.
TextBoxSnapshot(layoutIndex: List<Int>, bounds: List<Rectangle>, start: List<Int>, length: List<Int>)
Table of details of the post layout rendered text positions. The exact layout should not be regarded as stable and may change between versions. |
val bounds: List<Rectangle>
The absolute position bounding box. |
|
val layoutIndex: List<Int>
Index of the layout tree node that owns this box collection. |
|
val length: List<Int>
The number of characters in this post layout textbox substring. Characters that would be represented as a surrogate pair in UTF-16 have length 2. |
|
val start: List<Int>
The starting index in characters, for this post layout textbox substring. Characters that would be represented as a surrogate pair in UTF-16 have length 2. |