summaryrefslogtreecommitdiff
path: root/src/lib/ecore/efl_decelerate_interpolator.eo
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore/efl_decelerate_interpolator.eo')
-rw-r--r--src/lib/ecore/efl_decelerate_interpolator.eo14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/lib/ecore/efl_decelerate_interpolator.eo b/src/lib/ecore/efl_decelerate_interpolator.eo
index 802d409..eef3b3a 100644
--- a/src/lib/ecore/efl_decelerate_interpolator.eo
+++ b/src/lib/ecore/efl_decelerate_interpolator.eo
@@ -1,19 +1,23 @@
1class @beta Efl.Decelerate_Interpolator extends Efl.Object implements Efl.Interpolator 1class @beta Efl.Decelerate_Interpolator extends Efl.Object implements Efl.Interpolator
2{ 2{
3 [[Efl decelerate interpolator class 3 [[Decelerated interpolator. It starts fast and decelerates, stopping smoothly when
4 it reaches $[1.0].
4 5
5 output = sin(input * Pi / 2); 6 Internally it uses the second half of a sinus rise (from 0.5 to 1.0) and the steepness
7 can be customized through the @.slope property.
6 ]] 8 ]]
7 data: Efl_Decelerate_Interpolator_Data; 9 data: Efl_Decelerate_Interpolator_Data;
8 methods { 10 methods {
9 @property factor { 11 @property slope {
10 [[Factor property]] 12 [[Customize the deceleration effect.]]
11 set { 13 set {
12 } 14 }
13 get { 15 get {
14 } 16 }
15 values { 17 values {
16 factor: double; [[Factor of the interpolation function.]] 18 slope: double; [[How steep is the effect. $[0] performs a linear interpolation,
19 $[1] corresponds to a sinus function and higher numbers produce
20 an increasingly steep effect.]]
17 } 21 }
18 } 22 }
19 } 23 }