chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.domsnapshot / TextBoxSnapshot

TextBoxSnapshot

data class TextBoxSnapshot

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

<init>

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>)

Properties

bounds

The absolute position bounding box.

val bounds: List<Rectangle>

layoutIndex

Index of the layout tree node that owns this box collection.

val layoutIndex: List<Int>

length

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 length: List<Int>

start

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.

val start: List<Int>