Interface AnimationTimer.AnimationTarget

    • Method Detail

      • begin

        void begin​(AnimationTimer timer)
        Fired only once when the animation starts
        Parameters:
        timer - the timer that fired the event
      • event

        void event​(AnimationTimer timer,
                   float fraction)
        Fired when the animation is running
        Parameters:
        timer - the timer that fired the event
        fraction - value between 0f and 1f that represents the time that has ellapsed
      • end

        void end​(AnimationTimer timer)
        Fired only once when the animation stopped
        Parameters:
        timer - the timer that fired the event