Class Animations.ReversedAnimation

  • All Implemented Interfaces:
    Animation
    Enclosing class:
    Animations

    private static final class Animations.ReversedAnimation
    extends AbstractAnimation
    Helper class to reverse an animation over the time.
    • Field Detail

      • animation

        private final Animation animation
    • Constructor Detail

      • ReversedAnimation

        private ReversedAnimation​(Animation animation)
    • Method Detail

      • applyEffect

        protected void applyEffect​(long time)
        Description copied from class: AbstractAnimation
        Applies the animation effect for the given time to the animation target.
        Specified by:
        applyEffect in class AbstractAnimation
        Parameters:
        time - the time used to determine the animation effect