Search
PulseAnimation Class
Remarks See Also
 





Animates node's local scale factor.

Namespace: MindFusion.Diagramming.Animations
File: PulseAnimation.js

 Syntax

JavaScript  Copy Code

// class
PulseAnimation.prototype = {}

 Remarks

Call item's animate method to run an animation.

 Example

JavaScript  Copy Code
node.animate(
    new PulseAnimation(
        {
            fromValue: 1,
            toValue: 1.2,
            duration: 250,
            repeat: true,
            repeatCount: 4,
            reverse: true,
            animationType: Animations.AnimationType.BackBow
        }));

 Inheritance Hierarchy

MindFusion.Animations.Animation
    MindFusion.Diagramming.Animations.ItemAnimation
        MindFusion.Diagramming.Animations.PulseAnimation

 See Also