SVG::Estimate::Polyline - Handles estimating multi-part lines.
version 1.0100
my $line = SVG::Estimate::Polyline->new( transformer => $transform, start_point => [45,13], points => '20,20 40,25 60,40 80,120 120,140 200,180', ); my $length = $line->length;
This class extends SVG::Estimate::Shape and consumes SVG::Estimate::Role::Pythagorean.
Constructor.
A string listing points for the polyline as defined by http://www.w3.org/TR/SVG/shapes.html.
Returns an array reference of array references marking the parsed points string.
points
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.