Search
Animation Members
Constructors Properties 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 Properties

  Name Description

animationType

Gets or sets the type of the animation.

duration

Gets or sets the duration of the animation function in milliseconds.

easingType

Gets or sets the easing type of the animation.

fromValue

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

isRunning

Indicates whether the animation is currently running.

param

Gets or sets an optional value passed to the animation function.

progress

Gets the progress of the current animation iteration.

repeat

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

reverse

Gets or sets a value indicating whether to swap the from and to values after an animation loop completes.

toValue

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

 Public Methods

  Name Description

addEventListener

Registers a single event listener on the Animation.

dispose

Sys.IDisposable implementation.

raiseEvent

Raises an event.

removeEventListener

Removes a single event listener attached to the Animation.

start

Starts or resumes the animation.

stop

Stops the animation.

 See Also