Scroll to navigation

Geometry::Primitive::Shape(3pm) User Contributed Perl Documentation Geometry::Primitive::Shape(3pm)

NAME

Geometry::Primitive::Shape - Shape Role

DESCRIPTION

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

SYNOPSIS

  with 'Geometry::Primitive::Shape';
  has 'point_end' => '

METHODS

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

Cory Watson <gphat@cpan.org>

COPYRIGHT & LICENSE

You can redistribute and/or modify this code under the same terms as Perl itself.

2022-12-12 perl v5.36.0