NAME
SVG::Estimate::Path::Lineto - Handles estimating diagonal lines.
VERSION
version 1.0005
SYNOPSIS
my $line = SVG::Estimate::Path::Lineto->new(
transformer => $transform,
start_point => [13, 19],
point => [45,13],
);
my $length = $line->length;
INHERITANCE
This class extends SVG::Estimate::Path::Command and consumes SVG::Estimate::Role::Pythagorean.
METHODS
new()
Constructor.
- point
-
An array ref containing two floats that represent a point.