SVG::Estimate::Path::CubicBezier - Handles estimating cubic bezier curves.
version 1.0113
my $curve = SVG::Estimate::Path::CubicBezier->new( transformer => $transform, start_point => [13, 19], point => [45,13], control1 => [10,3], control2 => [157,40], ); my $length = $curve->length;
This class extends SVG::Estimate::Path::Command and consumes SVG::Estimate::Role::Pythagorean, SVG::Estimate::Role::SegmentLength, and SVG::Estimate::Role::EndToPoint.
Constructor.
An array ref containing two floats that represent a point.
To install SVG::Estimate, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SVG::Estimate
CPAN shell
perl -MCPAN -e shell install SVG::Estimate
For more information on module installation, please visit the detailed CPAN module installation guide.