get_offset


Description:

[ Version ( since = "3.14" ) ]
public bool get_offset (out double x, out double y)

If the this 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:

this

a Gesture

x

X offset for the current point

y

Y offset for the current point

Returns:

true if the gesture is active




2022 vala-language.org