Geometry::Primitive::Shape - Shape Role


Geometry-Primitive documentation Contained in the Geometry-Primitive distribution.

Index


Code Index:

NAME

Top

Geometry::Primitive::Shape - Shape Role

DESCRIPTION

Top

Geometry::Primitive::Shape is a geometric shape.

SYNOPSIS

Top

  with 'Geometry::Primitive::Shape';

  has 'point_end' => '

METHODS

Top

grow

Increase the size of this shape by the amount specified. Consult the shape implementation's documentation for this works.

point_end

The end point of this shape.

point_start

The starting point of this shape.

AUTHOR

Top

Cory Watson <gphat@cpan.org>

COPYRIGHT & LICENSE

Top


Geometry-Primitive documentation Contained in the Geometry-Primitive distribution.

package Geometry::Primitive::Shape;
use Moose::Role;

requires 'point_end';
requires 'point_start';
requires 'scale';

no Moose;
1;
__END__