Animation Methods

Overview | This Package | All Packages

Animation Methods

Constructors Description
Animation Creates an Animation object.

Methods Description
addOnStart Assigns a delegate to the start event.

addOnStop Assigns a delegate to the stop event.

getAutoPlay Retrieves a boolean value indicating whether the Animation control will start to play an animation file as soon as the animation file is loaded.

getCentered Retrieves a boolean value indicating whether the animation will appear in the center of the Animation control.

getFileName Retrieves the file name of the animation to be played.

getTransparent Retrieves a boolean value indicating whether Windows will draw the animation using a transparent background or the background color specified in the animation clip.

getUseTimer Retrieves a boolean value indicating whether a Win32 timer is used instead of a separate thread to synchronize animation playback.

onStart Triggers the start event.

onStop Triggers the stop event.

removeOnStart Removes the delegate that is assigned to the start event.

removeOnStop Removes the delegate that is assigned to the stop event.

setAutoPlay Sets a boolean value indicating whether the Animation control will start to play an animation file as soon as the animation file is loaded.

setCentered Sets a boolean value indicating whether the animation will appear in the center of the Animation control.

setFileName Sets the file name of the animation to be played.

setTransparent Sets a boolean value indicating whether Windows will draw the animation using a transparent background or the background color specified in the animation clip.

setUseTimer Sets a boolean value indicating whether a Win32 timer is used instead of a separate thread to synchronize animation playback.

start Plays the animation clip one time from beginning to end, or plays the animation the specified number of times from the specified start frame to the specified end frame.

stop Stops playing the animation.