Structure

DragGesture.Value

The current state of the event sequence.

Declaration

struct DragGesture.Value

Topics

Instance Properties

var location: CGPoint

The location of the current event.

var predictedEndLocation: CGPoint

A prediction of where the final location would be if dragging stopped now, based on the current drag velocity.

var predictedEndTranslation: CGSize

A prediction of what the final translation would be if dragging stopped now, based on the current drag velocity.

var startLocation: CGPoint

The location of the first event.

var time: Date

The time associated with the current event.

var translation: CGSize

The total translation from the first event to the current event.

Operator Functions

Relationships

From Protocol