Package org.oscim.utils.math
Class Interpolation.Bounce
java.lang.Object
org.oscim.utils.math.Interpolation
org.oscim.utils.math.Interpolation.BounceOut
org.oscim.utils.math.Interpolation.Bounce
- Enclosing class:
- Interpolation
-
Nested Class Summary
Nested classes/interfaces inherited from class org.oscim.utils.math.Interpolation
Interpolation.Bounce, Interpolation.BounceIn, Interpolation.BounceOut, Interpolation.Elastic, Interpolation.ElasticIn, Interpolation.ElasticOut, Interpolation.Exp, Interpolation.ExpIn, Interpolation.ExpOut, Interpolation.Pow, Interpolation.PowIn, Interpolation.PowOut, Interpolation.Swing, Interpolation.SwingIn, Interpolation.SwingOut -
Field Summary
Fields inherited from class org.oscim.utils.math.Interpolation
bounce, bounceIn, bounceOut, circle, circleIn, circleOut, elastic, elasticIn, elasticOut, exp10, exp10In, exp10Out, exp5, exp5In, exp5Out, fade, linear, pow2, pow2In, pow2Out, pow3, pow3In, pow3Out, pow4, pow4In, pow4Out, pow5, pow5In, pow5Out, sine, sineIn, sineOut, swing, swingIn, swingOut -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.oscim.utils.math.Interpolation
apply
-
Constructor Details
-
Bounce
public Bounce(float[] widths, float[] heights) -
Bounce
public Bounce(int bounces)
-
-
Method Details
-
apply
public float apply(float a) - Overrides:
applyin classInterpolation.BounceOut- Parameters:
a- Alpha value between 0 and 1.
-