ASP.NET Pack Programmer's Guide
Animation Members
Constructors Methods
 


Represents an object that is used to animate diagram items on the canvas.

The following tables list the members exposed by the Animation type.

 Public Constructors

  Name Description

Animation

Initializes a new instance of the Animation class.

 Public Methods

  Name Description

addEventListener

Registers a single event listener on the Animation.

dispose

Sys.IDisposable implementation.

getAnimationType

Gets the type of the animation.

getDuration

Gets the duration of the animation function in milliseconds.

getEasingType

Gets the easing type of the animation.

getFromValue

Gets the initial value of the property that will be animated.

getParam

Gets the optional parameter to use in the animation function.

getProgress

Gets the progress of the current animation iteration.

getRepeat

Gets a value indicating whether to restart the animation after it completes.

getReverse

Gets a value indicating whether to swap the from and to values after the animation completes.

getToValue

Gets the target value of the property that will be animated.

isRunning

Indicates whether the animation is currently running.

raiseEvent

Raises an event.

removeEventListener

Removes a single event listener attached to the Animation.

setAnimationType

Sets the type of the animation.

setDuration

Sets the duration of the animation function in milliseconds.

setEasingType

Sets the easing type of the animation.

setFromValue

Sets the initial value of the property that will be animated.

setParam

Sets the optional parameter to use in the animation function.

setRepeat

Sets a value indicating whether to restart the animation after it completes.

setReverse

Sets a value indicating whether to swap the from and to values after the animation completes.

setToValue

Sets the target value of the property that will be animated.

start

Starts or resumes the animation.

stop

Stops the animation.

 See Also

Animation Class
MindFusion.Animations Namespace