NAME
SVG::Estimate::Path::QuadraticBezier - Handles estimating quadratic bezier curves.
VERSION
version 1.0001
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.