SVG::Estimate::Circle - Handles estimating circles.
version 1.0100
my $circle = SVG::Estimate::Circle->new( transformer => $transform, start_point => [45,13], cx => 1, cy => 3, r => 1, ); my $length = $circle->length;
This class extends SVG::Estimate::Shape.
Constructor.
Float representing center x.
Float representing center y.
Float representing the radius.
This class method is used to calculate a point on a circle, given it's relative position ($t, ranging from 0 to 1, inclusive), and the radius and center of the circle from a hashref of $args (r and cx and <cy>).
$t
$args
r
cx
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.