set_deceleration


Description:

public void set_deceleration (double rate)

Sets the deceleration rate of the interpolated pan events generated after a pan gesture.

This is approximately the value that the momentum at the time of releasing the pointer is divided by every 60th of a second.

Parameters:

this

A PanAction

rate

The deceleration rate