summaryrefslogtreecommitdiff
path: root/src/lib/ecore/efl_accelerate_interpolator.eo
blob: 648dc1b5d75c010d13f730ff612390f106ba39be (plain) (blame)
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
26
27
28
class @beta Efl.Accelerate_Interpolator extends Efl.Object implements Efl.Interpolator
{
   [[Accelerated interpolator. It starts slow and accelerates, stopping abruptly when
     it reaches $[1.0].

     Internally it uses the first half of a sinus rise (from 0 to 0.5) and the steepness
     can be customized.
   ]]
   data: Efl_Accelerate_Interpolator_Data;
   methods {
      @property slope {
         [[Customize the acceleration effect.]]
         set {
         }
         get {
         }
         values {
            slope: double; [[How steep is the effect. $[0] performs a linear interpolation,
                             $[1] corresponds to a sinus function and higher numbers produce
                             an increasingly steep effect.]]
         }
      }
   }
   implements {
      Efl.Object.constructor;
      Efl.Interpolator.interpolate;
   }
}