Class AnimationFunctions.RepeatedAnimationFunction<T>

    • Constructor Detail

      • RepeatedAnimationFunction

        private RepeatedAnimationFunction​(AnimationFunction<T> f,
                                          long repeatTime)
    • Method Detail

      • valueAt

        public T valueAt​(long time)
        Description copied from interface: AnimationFunction
        Returns the function value at a given time in the valid time interval. The value is undefined for times outside this function's time interval. An implementation may throw an exception, if this method called with a time outside the time interval.
        Parameters:
        time - the time used to determine the animation effect
        Returns:
        the function value at the given time