DragGestureValue

The attributes of a drag gesture.

StructureiOS 13.0+macOS 10.15+watchOS 6.0+

Declaration

React
type DragGestureValue = { readonly location: CGPoint; readonly predictedEndLocation: CGPoint; readonly predictedEndTranslation: CGSize; readonly startLocation: CGPoint; readonly time: Date; readonly translation: CGSize; readonly velocity: CGSize; };

Properties

  • location*CGPoint
  • predictedEndLocation*CGPoint
  • predictedEndTranslation*CGSize
  • startLocation*CGPoint
  • time*Date
  • translation*CGSize
  • velocity*CGSize

See also

More in Gestures and input.