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<PointF>
        {
            new PointF(30, 30),
            new PointF(50, 30),
            new PointF(75, 66),
            new PointF(125, 88)
        },
        new AnimationOptions
        {
            KeepLastValue = true
        }));

 Inheritance Hierarchy

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

 See Also