HTML5 Canvas 2D Library
 

duration Library Method

Short Description: Set duration of transition

Signature: t.duration (d)
Group: Control
Class: transition Class
 

Sets the duration of the transition. Default is 1 second.

dur is a shorthand for duration having the same function.

Next Page:transition.dur - Set duration of transition
Previous Page: transition.absStartTime - Set absolute start time of transition