File: Shape.pm

package info (click to toggle)
libgeometry-primitive-perl 0.24-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 236 kB
  • sloc: perl: 1,772; makefile: 2
file content (47 lines) | stat: -rw-r--r-- 753 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package Geometry::Primitive::Shape;
use Moose::Role;

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

no Moose;
1;
__END__
=head1 NAME

Geometry::Primitive::Shape - Shape Role

=head1 DESCRIPTION

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

=head1 SYNOPSIS

  with 'Geometry::Primitive::Shape';

  has 'point_end' => '

=head1 METHODS

=head2 grow

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

=head2 point_end

The end point of this shape.

=head2 point_start

The starting point of this shape.

=head1 AUTHOR

Cory Watson <gphat@cpan.org>

=head1 COPYRIGHT & LICENSE

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