NAME
App::MathImage::Image::Base::LifeBitmap -- game of life cellular bitmap in RLE format
SYNOPSIS
use App::MathImage::Image::Base::LifeBitmap;
my $image = App::MathImage::Image::Base::LifeBitmap->new (-width => 100,
-height => 100);
$image->rectangle (0,0, 99,99, 'b');
$image->xy (20,20, 'o');
$image->line (50,50, 70,70, 'o');
$image->line (50,50, 70,70, 'o');
$image->save ('/some/filename.rle');
CLASS HIERARCHY
App::MathImage::Image::Base::LifeBitmap is a subclass of Image::Base,
Image::Base
App::MathImage::Image::Base::LifeBitmap
DESCRIPTION
App::MathImage::Image::Base::LifeBitmap extends Image::Base to create or update game of life RLE format bitmap files.
The colour names are " " (space), "b", "." or "clear" for background, and "o" or "set" for a set cell.
FUNCTIONS
$image = App::MathImage::Image::Base::LifeRLE->new (key=>value,...)-
Create and return a new image object. A new image can be started with
-widthand-height,$image = App::MathImage::Image::Base::LifeRLE->new (-width => 200, -height => 100);Or an existing file can be read,
$image = App::MathImage::Image::Base::LifeRLE->new (-file => '/some/filename.rle');