Animates items' opacity for fade-in and fade-out effects.
Namespace: MindFusion.Diagramming.Animations
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public class OpacityAnimation : ItemAnimation |
Visual Basic Copy Code |
---|
Public Class OpacityAnimation |
Call item's Animate method to run an animation.
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 })); |
System.Object
MindFusion.Animations.Animation
MindFusion.Diagramming.Animations.ItemAnimation
MindFusion.Diagramming.Animations.OpacityAnimation