Sets the number of times for an Animation
to repeat. Setting 0 makes the Animation repeat forever. Default
is 0.
To retrieve the number of repetitions set for the Animation, use
repetitions(). To retrieve the current
repetition, use currentRepetition(). |