OpenLayers. | |
Properties | |
easing | {<OpenLayers.Easing>(Function)} Easing equation used for the animation Defaultly set to OpenLayers.Easing.Expo.easeOut |
begin | {Object} Values to start the animation with |
finish | {Object} Values to finish the animation with |
duration | {int} duration of the tween (number of steps) |
callbacks | {Object} An object with start, eachStep and done properties whose values are functions to be call during the animation. |
time | {int} Step counter |
animationId | {int} Loop id returned by OpenLayers.Animation.start |
playing | {Boolean} Tells if the easing is currently playing |
Constructor | |
OpenLayers. | Creates a Tween. |
Functions | |
start | Plays the Tween, and calls the callback method on each step |
stop | Stops the Tween, and calls the done callback Doesn’t do anything if animation is already finished |
play | Calls the appropriate easing method |
OpenLayers. | Easing Equations by Robert Penner, http://www.robertpenner.com/easing/ |
OpenLayers. | |
Functions | |
easeIn | |
easeOut | |
easeInOut | |
OpenLayers. | |
Functions | |
easeIn | |
easeOut | |
easeInOut | |
OpenLayers. | |
Functions | |
easeIn | |
easeOut | |
easeInOut |
start: function( begin, finish, duration, options )
Plays the Tween, and calls the callback method on each step
begin | {Object} values to start the animation with |
finish | {Object} values to finish the animation with |
duration | {int} duration of the tween (number of steps) |
options | {Object} hash of options (for example callbacks (start, eachStep, done)) |
Easing Equations by Robert Penner, http://www.robertpenner.com/easing/
Plays the Tween, and calls the callback method on each step
start: function( begin, finish, duration, options )
Stops the Tween, and calls the done callback Doesn’t do anything if animation is already finished
stop: function()
Calls the appropriate easing method
play: function()
easeIn: function( t, b, c, d )
easeOut: function( t, b, c, d )
easeInOut: function( t, b, c, d )
easeIn: function( t, b, c, d )
easeOut: function( t, b, c, d )
easeInOut: function( t, b, c, d )
easeIn: function( t, b, c, d )
easeOut: function( t, b, c, d )
easeInOut: function( t, b, c, d )