get_velocity
Description:
[ Version ( since = "3.14" ) ]
public bool get_velocity (out double velocity_x, out double velocity_y)
public bool get_velocity (out double velocity_x, out double velocity_y)
If the gesture is recognized, this function returns true and fill in velocity_x
and
velocity_y
with the recorded velocity, as per the last event(s) processed.
Parameters:
this | |
velocity_x |
return value for the velocity in the X axis, in pixels/sec |
velocity_y |
return value for the velocity in the Y axis, in pixels/sec |
Returns:
whether velocity could be calculated |