SVG::Estimate::Polygon - Handles estimating shapes of more than 3 points with straight lines between the points.
version 1.0109
my $polygon = SVG::Estimate::Polygon->new( transformer => $transform, start_point => [45,13], points => '20,20 40,25 60,40 80,120 120,140 200,180', ); my $length = $polygon->length;
This class extends SVG::Estimate::Polyline.
To install SVG::Estimate, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SVG::Estimate
CPAN shell
perl -MCPAN -e shell install SVG::Estimate
For more information on module installation, please visit the detailed CPAN module installation guide.