puppeteer/new-docs/puppeteer.elementhandle._intersectquadwithviewport.md

31 lines
805 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; [ElementHandle](./puppeteer.elementhandle.md) &gt; [\_intersectQuadWithViewport](./puppeteer.elementhandle._intersectquadwithviewport.md)
## ElementHandle.\_intersectQuadWithViewport() method
<b>Signature:</b>
```typescript
_intersectQuadWithViewport(quad: Array<{
x: number;
y: number;
}>, width: number, height: number): Array<{
x: number;
y: number;
}>;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| quad | Array&lt;{ x: number; y: number; }&gt; | |
| width | number | |
| height | number | |
<b>Returns:</b>
Array&lt;{ x: number; y: number; }&gt;