Changes the current translation value of the gesture recognizer.
- macOS 10.10+
The new translation values to use in the gesture recognizer.
The view in whose coordinate system you specified the new translation value. Specifying
nilresets the previous translation value.
This method changes the current translation value of the gesture recognizer. Changing the value resets the velocity of the pan. You might call this method at mouse-down time to adjust the translation value and make it relative to some specific point in your view.