chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.input / SynthesizePinchGestureRequest

SynthesizePinchGestureRequest

data class SynthesizePinchGestureRequest

Request object containing input parameters for the InputDomain.synthesizePinchGesture command.

Constructors

<init>

Request object containing input parameters for the InputDomain.synthesizePinchGesture command.

SynthesizePinchGestureRequest(x: Double, y: Double, scaleFactor: Double, relativeSpeed: Int? = null, gestureSourceType: GestureSourceType? = null)

Properties

gestureSourceType

Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type).

val gestureSourceType: GestureSourceType?

relativeSpeed

Relative pointer speed in pixels per second (default: 800).

val relativeSpeed: Int?

scaleFactor

Relative scale factor after zooming (>1.0 zooms in, <1.0 zooms out).

val scaleFactor: Double

x

X coordinate of the start of the gesture in CSS pixels.

val x: Double

y

Y coordinate of the start of the gesture in CSS pixels.

val y: Double