NAME

SVG::Estimate::Polyline - Handles estimating multi-part lines.

VERSION

version 1.0114

SYNOPSIS

 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;

INHERITANCE

This class extends SVG::Estimate::Shape and consumes SVG::Estimate::Role::Pythagorean.

METHODS

new()

Constructor.

points

A string listing points for the polyline as defined by http://www.w3.org/TR/SVG/shapes.html.

parsed_points()

Returns an array reference of array references marking the parsed points string.