efl/src/lib/ecore/efl_decelerate_interpolator.eo

29 lines
908 B
Plaintext

class @beta Efl.Decelerate_Interpolator extends Efl.Object implements Efl.Interpolator
{
[[Decelerated interpolator. It starts fast and decelerates, stopping smoothly when
it reaches $[1.0].
Internally it uses the second half of a sinus rise (from 0.5 to 1.0) and the steepness
can be customized through the @.slope property.
]]
data: Efl_Decelerate_Interpolator_Data;
methods {
@property slope {
[[Customize the deceleration 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;
}
}