Class Animation.Interped<R>

java.lang.Object
tripleplay.anim.Animation
tripleplay.anim.Animation.Interped<R>
Direct Known Subclasses:
Animation.One, Animation.Shake, Animation.Two
Enclosing class:
Animation

public abstract static class Animation.Interped<R> extends Animation
A base class for animations that interpolate values.
  • Constructor Details

    • Interped

      public Interped()
  • Method Details

    • using

      public R using(Interpolator interp)
      Uses the supplied interpolator for this animation.
    • linear

      public R linear()
      Uses a linear interpolator for this animation.
    • easeIn

      public R easeIn()
      Uses an ease-in interpolator for this animation.
    • easeOut

      public R easeOut()
      Uses an ease-out interpolator for this animation.
    • easeInOut

      public R easeInOut()
      Uses an ease-inout interpolator for this animation.
    • easeInBack

      public R easeInBack()
      Uses an ease-in-back interpolator for this animation.
    • easeOutBack

      public R easeOutBack()
      Uses an ease-out-back interpolator for this animation.
    • bounceOut

      public R bounceOut()
      Uses an ease-out-back interpolator for this animation.
    • easeOutElastic

      public R easeOutElastic()
      Uses an ease-out-elastic interpolator for this animation.
    • in

      public R in(float duration)
      Configures the duration for this animation (in milliseconds). Default: 1000.