Class cssa_AnimationColor

Object
   |
   +--cssa_Animation
         |
         +--cssa_AnimationColor

class cssa_AnimationColor
extends cssa_Animation


Animation class to change CSS properties of any color typed value
Defined in cssa.js

Author: Arnaud Aubert - aaubert@magesi.com


Field Summary
 int curBlue
          Current blue value (0 to 255) of the animated property
 int curGreen
          Current green value (0 to 255) of the animated property
 int curRed
          Current red value (0 to 255) of the animated property
 RGBColor from
          Starting animated value
 Object nbFrames
          
 RGBColor to
          Final value at the end of the animation
   
Fields inherited from class cssa_Animation
duration, curKey, nbFrames
 
Constructor Summary
cssa_AnimationColor (<element> elem, propName, <Color> to, <int> duration, <boolean> bLoop, <boolean> bRevert)
            Animation of any color based value.
 
Method Summary
 void tick()
          
 
Methods inherited from class cssa_Animation
init
 

Field Detail

curBlue

int curBlue

curGreen

int curGreen

curRed

int curRed

from

RGBColor from

nbFrames

Object nbFrames

to

RGBColor to

Constructor Detail

cssa_AnimationColor

cssa_AnimationColor(<element> elem, propName, <Color> to, <int> duration, <boolean> bLoop, <boolean> bRevert)

Method Detail

tick

void tick()


Documentation generated by JSDoc on Fri Oct 13 23:00:17 2006