efl/src/lib/ecore/efl_bounce_interpolator.eo

39 lines
1022 B
Plaintext

class Efl.Bounce_Interpolator extends Efl.Object implements Efl.Interpolator
{
[[Bouncing interpolator. The value quickly reaches $[1.0] and then bounces back
a number of times before stopping at $[1.0].
The number of bounces and how far it goes back on every bounce can be customized.
@since 1.24
]]
data: Efl_Bounce_Interpolator_Data;
methods {
@property bounces {
[[Customize the number of bounces.]]
set {
}
get {
}
values {
bounces: int; [[Number of bounces before stopping.]]
}
}
@property rigidness {
[[Customize the rigidness.]]
set {
}
get {
}
values {
rigidness: double; [[How much energy is lost on every bounce.
Higher numbers result in smaller bounces (lesser bounciness).]]
}
}
}
implements {
Efl.Object.constructor;
Efl.Interpolator.interpolate;
}
}