-
public final class SynthesizePinchGestureRequestRequest object containing input parameters for the InputDomain.synthesizePinchGesture command.
-
-
Field Summary
Fields Modifier and Type Field Description private final Doublexprivate final Doubleyprivate final DoublescaleFactorprivate final IntegerrelativeSpeedprivate final GestureSourceTypegestureSourceType
-
Constructor Summary
Constructors Constructor Description SynthesizePinchGestureRequest(Double x, Double y, Double scaleFactor, Integer relativeSpeed, GestureSourceType gestureSourceType)
-
Method Summary
Modifier and Type Method Description final Doublecomponent1()final Doublecomponent2()final Doublecomponent3()final Integercomponent4()final GestureSourceTypecomponent5()final SynthesizePinchGestureRequestcopy(Double x, Double y, Double scaleFactor, Integer relativeSpeed, GestureSourceType gestureSourceType)final DoublegetX()X coordinate of the start of the gesture in CSS pixels. final DoublegetY()Y coordinate of the start of the gesture in CSS pixels. final DoublegetScaleFactor()Relative scale factor after zooming (>1.0 zooms in, <1.0 zooms out). final IntegergetRelativeSpeed()Relative pointer speed in pixels per second (default: 800). final GestureSourceTypegetGestureSourceType()Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type). -
-
Constructor Detail
-
SynthesizePinchGestureRequest
SynthesizePinchGestureRequest(Double x, Double y, Double scaleFactor, Integer relativeSpeed, GestureSourceType gestureSourceType)
-
-
Method Detail
-
component1
final Double component1()
-
component2
final Double component2()
-
component3
final Double component3()
-
component4
final Integer component4()
-
component5
final GestureSourceType component5()
-
copy
final SynthesizePinchGestureRequest copy(Double x, Double y, Double scaleFactor, Integer relativeSpeed, GestureSourceType gestureSourceType)
-
getScaleFactor
final Double getScaleFactor()
Relative scale factor after zooming (>1.0 zooms in, <1.0 zooms out).
-
getRelativeSpeed
final Integer getRelativeSpeed()
Relative pointer speed in pixels per second (default: 800).
-
getGestureSourceType
final GestureSourceType getGestureSourceType()
Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type).
-
-
-
-