SVG::Estimate::Path::Command - Base class for all path calculations.
version 1.0109
There are a lot of methods and parameters shared between the various shape classes in SVG::Estimate::Path. This base class encapsulates them all.
This class consumes SVG::Estimate::Role::Round.
Constructor.
An array ref that describes the position of the cursor (or CNC head) prior to drawing this path (where it left off from the last object).
A reference to a Image::SVG::Transform object that contains all the transforms for this path segment.
Returns an array ref that contains an end point of where this command left off to fill the start_point of the next command.
start_point
Returns the total shape length of the vector in the path command.
Returns the total travel length of the vector in the path command.
Returns the minimum position of x that this path segment will ever reach.
x
Returns the maximum position of x that this path segment will ever reach.
Returns the minimum position of y that this path segment will ever reach.
y
Returns the max position of y that this path segment will ever reach.
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.