GestureDrag.getOffset

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.

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 Value

Type: bool

%TRUE if the gesture is active

Meta