Search
PathAnimation Class
Remarks See Also
 





Animates node positions along specified path.

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

 Syntax

JavaScript  Copy Code

// class
PathAnimation.prototype = {}

 Remarks

Call item's animate method to run an animation.

 Example

JavaScript  Copy Code
node.animate(
    new PathAnimation(
        [
            new Point(30, 30),
            new Point(50, 30),
            new Point(75, 66),
            new Point(125, 88)
        ],
        {
            keepLastValue: true
        }));

 Inheritance Hierarchy

MindFusion.Animations.Animation
    MindFusion.Diagramming.Animations.ItemAnimation
        MindFusion.Diagramming.Animations.PathAnimation

 See Also