SVG::Estimate::Path::Lineto - Handles estimating diagonal lines.
version 1.0100
my $line = SVG::Estimate::Path::Lineto->new( transformer => $transform, start_point => [13, 19], point => [45,13], ); my $length = $line->length;
This class extends SVG::Estimate::Path::Command and consumes SVG::Estimate::Role::Pythagorean.
Constructor.
An array ref containing two floats that represent a point.
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.