SynthesizePinchGestureParameter

@Serializable
data class SynthesizePinchGestureParameter(val x: Double, val y: Double, val scaleFactor: Double, val relativeSpeed: Int? = null, val gestureSourceType: Input.GestureSourceType? = null)

Constructors

Link copied to clipboard
constructor(x: Double, y: Double, scaleFactor: Double, relativeSpeed: Int? = null, gestureSourceType: Input.GestureSourceType? = null)

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
val relativeSpeed: Int? = null

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.