device_rotate_gesture
Rotate a map or image on Android by simulating a two-finger gesture. Set center, degrees (positive clockwise), radius, and duration for precise control.
Instructions
Perform a two-finger rotation gesture (e.g. to rotate a map or image). Positive degrees = clockwise. Android only (uses UIAutomation, no root needed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| radius | No | Distance of each finger from center in pixels (default 120) | |
| centerX | Yes | X center of rotation in screen pixels | |
| centerY | Yes | Y center of rotation in screen pixels | |
| degrees | Yes | Degrees to rotate. Positive = clockwise. | |
| deviceId | Yes | ||
| duration | No | Gesture duration in ms (default 500) | |
| platform | Yes |