Methods inherited from class java.lang.Object

Constructor Detail

WebPinchArgs

public WebPinchArgs(double scale)

Initializes a new instance of the WebPinchArgs class with default arguments (pinch at the center of the object for 1 second).

Parameters:

scale - the zoom scale resulting from the pinch gesture. This number is the ratio between the start distance and the end distance between the two touch point used for the pinch.
For example, if you were to touch a screen with your fingers 6 cm apart, and pinch until your fingers were 3 cm, apart, the scale would be 0.5. Likewise, if your fingers were 3 cm apart, and you pinch until your fingers are 6 cm apart, the scale would be 2.