The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

SVG::Estimate::Path::Lineto - Handles estimating diagonal lines.

VERSION

version 1.0100

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.