pixelbuf_pi_animation.data.Animation
dataclass
This class represents a collection of frames that are to be played as an animation
frames: List[pixelbuf_pi_animation.data.Frame]
dataclass-field
A list of Frames in the order that they should be rendered
loop_infinitely: bool
dataclass-field
Determines if this animation should be shown in an infinite loop
pause_between_play_ms: int
dataclass-field
How many milliseconds to pause between animation loops; will be applied after showing all frames
max_plays: Optional[int]
dataclass-field
How many times to show the animation; Must be set to None
if loop_infinitely
is True
frame_total_time_ms: int
property
readonly
This property loops through all of the frames, sums the delay on each one, and returns the total. :return: total expected delay, in ms, of this animation