Animates the item.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public void Animate ( |
Visual Basic Copy Code |
---|
Public Sub Animate( _ |
An ItemAnimation -derived object.
Item's animated values are considered transient and do not change actual property values. If you want to assign last value from animation to actual property such as Bounds or Opacity, set the KeepLastValue flag in AnimationOptions as in example below.
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 })); |
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |