Table of Contents

Interface IAnimationPlayerHandler

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Provides methods and properties to control animation player.

public interface IAnimationPlayerHandler : IControlHandler, IDisposableObject, IDisposable

Properties

AnimationSize

Gets the size of the animation in pixels.

FrameCount

Gets the number of frames for this animation.

IsOk

Returns true if animation data is present.

Methods

GetDelay(uint)

Gets the delay (in milliseconds) for the specified frame.

GetFrame(uint)

Returns the specified frame as a GenericImage.

IsPlaying()

Gets whether animation is being played.

Load(Stream, AnimationType)

Loads the animation from the given stream.

LoadFile(string, AnimationType)

Loads an animation from a file.

Play()

Starts playing the animation.

SetInactiveBitmap(ImageSet?)

Sets the bitmap to show on the control when it's not playing an animation.

Stop()

Stops playing the animation.