GestureDrag.getOffset

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.

class GestureDrag
bool
getOffset
(
out double x
,
out double y
)

Parameters

x double

X offset for the current point

y double

Y offset for the current point

Return: %TRUE if the gesture is active

Meta

Since

3.14