NAME
App::MathImage::Image::Base::SVGout -- SVG image file output
SYNOPSIS
use App::MathImage::Image::Base::SVGout;
my $image = App::MathImage::Image::Base::SVGout->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::SVGout
is a subclass of Image::Base
,
Image::Base
App::MathImage::Image::Base::SVGout
DESCRIPTION
App::MathImage::Image::Base::SVGout
extends Image::Base
to create SVG format image files.
The colour names are ...
FUNCTIONS
$image = App::MathImage::Image::Base::SVGout->new (key=>value,...)
-
Create and return a new image object. A new image can be started with
-width
and-height
,$image = App::MathImage::Image::Base::SVGout->new (-width => 200, -height => 100);
$image->save ()
$image->save ($filename)
-
Save the image to an SVG file, either the current
-file
option, or set that option to$filename
and save to there.