NAME

SVG::Estimate::Rect - Handles estimating rectangles.

SYNOPIS

my $rect = SVG::Estimate::Rect->new(
   transformer => $transform,
   start_point => [45,13],
   x           => 3,
   y           => 6,
   width       => 11.76,
   height      => 15.519,
);

my $length = $rect->length;

INHERITANCE

This class extends SVG::Estimate::Shape.

METHODS

new()

Constructor.

x

Float representing the top left corner x.

y

Float representing the top left corner y.

width

Float representing the width of the box.

height

Float representing the height of the box.