search

goog.fx.dom.ColorTransform

Provided By
Extends
All Implemented Interfaces

Provides a transformation of an elements color.

new ColorTransform( element, start, end, time, opt_acc )

Parameters
element(Element|null)

Dom Node to be used in the animation.

start(Array<number>|null)

3D Array representing R,G,B.

end(Array<number>|null)

3D Array representing R,G,B.

timenumber

Length of animation in milliseconds.

opt_acc(Function|null)=

Acceleration function, returns 0-1 for inputs 0-1.

Instance Methods

Instance Properties