mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
23 lines
1.4 KiB
Markdown
23 lines
1.4 KiB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [DOMSnapshot](./puppeteer.protocol.domsnapshot.md) > [InlineTextBox](./puppeteer.protocol.domsnapshot.inlinetextbox.md)
|
|
|
|
## Protocol.DOMSnapshot.InlineTextBox interface
|
|
|
|
Details of post layout rendered text positions. The exact layout should not be regarded as stable and may change between versions.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export interface InlineTextBox
|
|
```
|
|
|
|
## Properties
|
|
|
|
| Property | Type | Description |
|
|
| --- | --- | --- |
|
|
| [boundingBox](./puppeteer.protocol.domsnapshot.inlinetextbox.boundingbox.md) | [DOM.Rect](./puppeteer.protocol.dom.rect.md) | The bounding box in document coordinates. Note that scroll offset of the document is ignored. |
|
|
| [numCharacters](./puppeteer.protocol.domsnapshot.inlinetextbox.numcharacters.md) | [integer](./puppeteer.protocol.integer.md) | 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. |
|
|
| [startCharacterIndex](./puppeteer.protocol.domsnapshot.inlinetextbox.startcharacterindex.md) | [integer](./puppeteer.protocol.integer.md) | 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. |
|
|
|