public static class Interpolation.Bounce extends Interpolation.BounceOut
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
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 and Description |
---|
Bounce(float[] widths,
float[] heights) |
Bounce(int bounces) |
Modifier and Type | Method and Description |
---|---|
float |
apply(float a) |
apply
public Bounce(float[] widths, float[] heights)
public Bounce(int bounces)
public float apply(float a)
apply
in class Interpolation.BounceOut
a
- Alpha value between 0 and 1.Copyright © 2016. All rights reserved.