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 |
Sets the duration of this.
If the animation repeats more than once, sets the duration of one iteration.
| this |
a timed animation |
| duration |
the duration to use, in milliseconds |