Search
PathAnimation Class
Remarks See Also
 





Animates node positions along specified path.

Namespace: MindFusion.Diagramming.Animations
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public class PathAnimation : ItemAnimation

Visual Basic  Copy Code

Public Class PathAnimation
    Inherits ItemAnimation

 Remarks

Call item's Animate method to run an animation.

 Example

C#  Copy Code
node.Animate(
    new PathAnimation(
        new List<Point>
        {
            new Point(30, 30),
            new Point(50, 30),
            new Point(75, 66),
            new Point(125, 88)
        },
        new AnimationOptions
        {
            KeepLastValue = true
        }));

 Inheritance Hierarchy

System.Object
    MindFusion.Animations.Animation
        MindFusion.Diagramming.Animations.ItemAnimation
            MindFusion.Diagramming.Animations.PathAnimation

 See Also