NAME

SDL2::Image::Animation - SDL Animated Image Support

SYNOPSIS

use SDL2 qw[:assert];

DESCRIPTION

Currently only animated GIFs are supported.

Fields

w - image width
h - image height
count - the number of frames
frames - list of SDL2::Surface structures representing individual animation frames
delays - list of frame delays

LICENSE

Copyright (C) Sanko Robinson.

This library is free software; you can redistribute it and/or modify it under the terms found in the Artistic License 2. Other copyrights, terms, and conditions may apply to data transmitted through this module.

AUTHOR

Sanko Robinson <sanko@cpan.org>