Search
OpacityAnimation Class
Remarks See Also
 





Animates items' opacity for fade-in and fade-out effects.

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

 Syntax

C#  Copy Code

public class OpacityAnimation : ItemAnimation

Visual Basic  Copy Code

Public Class OpacityAnimation
    Inherits ItemAnimation

 Remarks

Call item's Animate method to run an animation.

 Example

C#  Copy Code
node.Animate(
    new OpacityAnimation(
        new AnimationOptions
        {
            FromValue = 1,
            ToValue = 0.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.OpacityAnimation

 See Also