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

NAME

SVG::Estimate::Path::QuadraticBezier - Handles estimating quadratic bezier curves.

VERSION

version 1.0100

SYNOPSIS

 my $curve = SVG::Estimate::Path::QuadraticBezier->new(
    transformer     => $transform,
    start_point     => [13, 19],
    point           => [45,13],
    control         => [10,3],
 );

 my $length = $curve->length;

INHERITANCE

This class extends SVG::Estimate::Path::Command and consumes SVG::Estimate::Role::EndToPoint.

METHODS

new()

Constructor.

point

An array ref containing two floats that represent a point.

control

An array ref containing two floats that represent a point.