data class SynthesizePinchGestureRequest
(source)
Represents request frame that can be used with Input#synthesizePinchGesture operation call.
Synthesizes a pinch gesture over a time period by issuing appropriate touch events.
Link
Input#synthesizePinchGesture method documentation.
See Also
InputOperations.synthesizePinchGesture
SynthesizePinchGestureRequest(x: Double, y: Double, scaleFactor: Double, relativeSpeed: Int? = null, gestureSourceType: GestureSourceType? = null)
Represents request frame that can be used with Input#synthesizePinchGesture operation call. |
val gestureSourceType: GestureSourceType?
Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type). |
|
val relativeSpeed: Int?
Relative pointer speed in pixels per second (default: 800). |
|
val scaleFactor: Double
Relative scale factor after zooming (>1.0 zooms in, <1.0 zooms out). |
|
val x: Double
X coordinate of the start of the gesture in CSS pixels. |
|
val y: Double
Y coordinate of the start of the gesture in CSS pixels. |