GestureDrag.getOffset

bool getOffset(out double x, out double y)

Gets the offset from the start point.

If the gesture is active, this function returns true and fills in x and y with the coordinates of the current point, as an offset to the starting drag point.

Parameters

xX offset for the current point
yY offset for the current point

Returns

true if the gesture is active