Builder

class Builder(val x: Double, val y: Double, val scaleFactor: Double)

A builder for SynthesizePinchGestureRequest, which allows setting the optional parameters of the InputDomain.synthesizePinchGesture command via a lambda.

Constructors

Link copied to clipboard
constructor(x: Double, y: Double, scaleFactor: Double)

Properties

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
val x: Double

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

Link copied to clipboard
val y: Double

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

Functions

Link copied to clipboard