summaryrefslogtreecommitdiff
path: root/src/lib/evas/gesture/efl_canvas_gesture_flick.eo
blob: afc8391550cf583f7f8839028d7aa9164c45265b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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.Gesture.Events.gesture,flick] for a description of the Flick gesture.
   ]]
   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;
   }
}