summaryrefslogtreecommitdiff
path: root/src/lib/ecore/efl_spring_interpolator.eo
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore/efl_spring_interpolator.eo')
-rw-r--r--src/lib/ecore/efl_spring_interpolator.eo24
1 files changed, 19 insertions, 5 deletions
diff --git a/src/lib/ecore/efl_spring_interpolator.eo b/src/lib/ecore/efl_spring_interpolator.eo
index 5549046..9890666 100644
--- a/src/lib/ecore/efl_spring_interpolator.eo
+++ b/src/lib/ecore/efl_spring_interpolator.eo
@@ -1,17 +1,31 @@
1class @beta Efl.Spring_Interpolator extends Efl.Object implements Efl.Interpolator 1class @beta Efl.Spring_Interpolator extends Efl.Object implements Efl.Interpolator
2{ 2{
3 [[Efl spring interpolator class]] 3 [[Spring interpolator. The value quickly reaches $[1.0] and then oscillates
4 around it a number of times before stopping (as if linked with a spring).
5
6 The number of oscillations and how quickly it stops can be customized.
7 ]]
4 data: Efl_Spring_Interpolator_Data; 8 data: Efl_Spring_Interpolator_Data;
5 methods { 9 methods {
6 @property factors { 10 @property decay {
7 [[Factors property]] 11 [[Customize the decay factor.]]
8 set { 12 set {
9 } 13 }
10 get { 14 get {
11 } 15 }
12 values { 16 values {
13 factor1: double; [[First factor of the interpolation function.]] 17 decay: double; [[How quickly energy is lost.
14 factor2: double; [[Second factor of the interpolation function.]] 18 Higher numbers result in smaller oscillations.]]
19 }
20 }
21 @property oscillations {
22 [[Customize number of oscillations.]]
23 set {
24 }
25 get {
26 }
27 values {
28 oscillations: int; [[Number of oscillations before stopping.]]
15 } 29 }
16 } 30 }
17 } 31 }