setDuration

fun setDuration(duration: <Error class: unknown class>)

Sets the duration of @self.

If the animation repeats more than once, sets the duration of one iteration.

Parameters

duration

the duration to use, in milliseconds