Contents

translation

The total translation from the start of the drag gesture to the current event of the drag gesture.

Declaration

var translation: CGSize { get }

Discussion

This is equivalent to location.{x,y} - startLocation.{x,y}.

See Also

Getting 2D position