mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
31 lines
805 B
Markdown
31 lines
805 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [ElementHandle](./puppeteer.elementhandle.md) > [\_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<{ x: number; y: number; }> | |
|
||
|
| width | number | |
|
||
|
| height | number | |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
Array<{ x: number; y: number; }>
|
||
|
|