Search
FillColorAnimation Class
Remarks See Also
 





Animates the fill color of nodes or link arrowheads.

Namespace: MindFusion.Diagramming.Animations
File: FillColorAnimation.js

 Syntax

JavaScript  Copy Code

// class
FillColorAnimation.prototype = {}

 Remarks

Call item's animate method to run an animation.

 Example

JavaScript  Copy Code
node.animate(
    new FillColorAnimation(
        {
            fromValue: new Drawing.Color("white"),
            toValue: new Drawing.Color("lightSkyBlue"),
            duration: 250,
            keepLastValue: true
        }));

 Inheritance Hierarchy

MindFusion.Animations.Animation
    MindFusion.Diagramming.Animations.ItemAnimation
        MindFusion.Diagramming.Animations.FillColorAnimation

 See Also