Sets the duration of self.
If the animation repeats more than once, sets the duration of one iteration.
the duration to use, in milliseconds
Sets the duration of self.
If the animation repeats more than once, sets the duration of one iteration.