set_duration


Description:

public void set_duration (uint duration)

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