Package ch.bailu.gtk.gtk
Interface GestureSwipe.OnSwipe
- Enclosing class:
- GestureSwipe
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onSwipe
(double velocity_x, double velocity_y) Emitted when the recognized gesture is finished.
-
Method Details
-
onSwipe
void onSwipe(double velocity_x, double velocity_y) Emitted when the recognized gesture is finished.
Velocity and direction are a product of previously recorded events.- Parameters:
velocity_x
- velocity in the X axis, in pixels/secvelocity_y
- velocity in the Y axis, in pixels/sec
-