Interface ALcdAnimation.Interpolator

Enclosing class:
ALcdAnimation

public static interface ALcdAnimation.Interpolator
Implementations of this interface transform the relative progress of the animation (between 0 and 1 with respect to the animation's duration). This enables users to customize the timing of the animation.
  • Field Details

  • Method Details

    • transform

      double transform(double aTime)
      Transforms the relative progress of the animation (between 0 and 1 with respect to the animation's duration).
      Parameters:
      aTime - the relative progress of the animation.
      Returns:
      the transformed relative progress of the animation (value between 0 and 1).