AnimationFrame Class

Inheritance diagram of AnimationFrame

class AnimationFrame(image, duration)

A single frame of an animation.

Constructor:

__init__(image, duration)

Create an animation frame from an image.

Parameters:
  • image (AbstractImage) – The image of this frame.
  • duration (float) – Number of seconds to display the frame, or None if it is the last frame in the animation.

Previous topic

Animation Class

Next topic

BufferImage Class