set_duration
Description:
Sets the duration of this.
If the animation repeats more than once, sets the duration of one iteration.
Parameters:
this |
a timed animation |
duration |
the duration to use, in milliseconds |