Search
BounceAnimation Class
Remarks See Also
 





Animates vertical position of nodes.

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

 Syntax

C#  Copy Code

public class BounceAnimation : ItemAnimation

Visual Basic  Copy Code

Public Class BounceAnimation
    Inherits ItemAnimation

 Remarks

Call item's Animate method to run an animation.

 Example

C#  Copy Code
node.Animate(
    new BounceAnimation(
        new AnimationOptions
        {
            FromValue = 0,
            ToValue = -5,
            Duration = 250,
            Repeat = true,
            RepeatCount = 4,
            Reverse = true,
            AnimationType = AnimationType.BackBow
        }));

 Inheritance Hierarchy

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

 See Also