efl/src/lib/evas/gesture/efl_canvas_gesture_flick.eo

28 lines
901 B
Plaintext

import eina_types;
class @beta Efl.Canvas.Gesture_Flick extends Efl.Canvas.Gesture
{
[[Flick gesture class holding state information.
See @Efl.Canvas.Gesture to see what this state is and
@[Efl.Canvas.Gesture_Events.gesture,flick] for a description of the Flick gesture.
Application developers receive these objects inside a gesture event and do not typically need to create their own.
]]
c_prefix: efl_gesture_flick;
methods {
momentum_get {
[[Gets flick gesture momentum value, this is, the direction in which the
pointer was flicked.]]
return: Eina.Vector2; [[The momentum vector.]]
}
angle_get {
[[Gets flick gesture direction angle, this is, the angle in which the
pointer was flicked.]]
return: double; [[The angle value.]]
}
}
implements {
Efl.Object.constructor;
}
}