TextBoxSnapshot

data class 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.

Constructors

TextBoxSnapshot
Link copied to clipboard
fun TextBoxSnapshot(layoutIndex: List<Int>, bounds: List<Rectangle>, start: List<Int>, length: List<Int>)

Properties

bounds
Link copied to clipboard
val bounds: List<Rectangle>
The absolute position bounding box.
layoutIndex
Link copied to clipboard
val layoutIndex: List<Int>
Index of the layout tree node that owns this box collection.
length
Link copied to clipboard
val length: List<Int>
The number of characters in this post layout textbox substring.
start
Link copied to clipboard
val start: List<Int>
The starting index in characters, for this post layout textbox substring.

Sources

jvm source
Link copied to clipboard