25 lines
1.4 KiB
Markdown
25 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) > [Input](./puppeteer.protocol.input.md) > [TouchPoint](./puppeteer.protocol.input.touchpoint.md)
|
||
|
|
||
|
## Protocol.Input.TouchPoint interface
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
export interface TouchPoint
|
||
|
```
|
||
|
|
||
|
## Properties
|
||
|
|
||
|
| Property | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| [force](./puppeteer.protocol.input.touchpoint.force.md) | number | Force (default: 1.0). |
|
||
|
| [id](./puppeteer.protocol.input.touchpoint.id.md) | number | Identifier used to track touch sources between events, must be unique within an event. |
|
||
|
| [radiusX](./puppeteer.protocol.input.touchpoint.radiusx.md) | number | X radius of the touch area (default: 1.0). |
|
||
|
| [radiusY](./puppeteer.protocol.input.touchpoint.radiusy.md) | number | Y radius of the touch area (default: 1.0). |
|
||
|
| [rotationAngle](./puppeteer.protocol.input.touchpoint.rotationangle.md) | number | Rotation angle (default: 0.0). |
|
||
|
| [x](./puppeteer.protocol.input.touchpoint.x.md) | number | X coordinate of the event relative to the main frame's viewport in CSS pixels. |
|
||
|
| [y](./puppeteer.protocol.input.touchpoint.y.md) | number | Y coordinate of the event relative to the main frame's viewport in CSS pixels. 0 refers to the top of the viewport and Y increases as it proceeds towards the bottom of the viewport. |
|
||
|
|