puppeteer/new-docs/puppeteer.protocol.dom.rect.md

24 lines
763 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [DOM](./puppeteer.protocol.dom.md) &gt; [Rect](./puppeteer.protocol.dom.rect.md)
## Protocol.DOM.Rect interface
Rectangle.
<b>Signature:</b>
```typescript
export interface Rect
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [height](./puppeteer.protocol.dom.rect.height.md) | number | Rectangle height |
| [width](./puppeteer.protocol.dom.rect.width.md) | number | Rectangle width |
| [x](./puppeteer.protocol.dom.rect.x.md) | number | X coordinate |
| [y](./puppeteer.protocol.dom.rect.y.md) | number | Y coordinate |