| 1 | use Renard::Incunabula::Common::Setup; | ||
| 2 | package Intertangle::Punchcard::Layout::Role::Constrainable; | ||
| 3 | # ABSTRACT: A role to hold constraints for bounding boxes | ||
| 4 | $Intertangle::Punchcard::Layout::Role::Constrainable::VERSION = '0.001'; | ||
| 5 | use Mu; | ||
| 6 | |||
| 7 | has [ qw(top bottom left right) ] => ( is => 'ro' ); | ||
| 8 | |||
| 9 | has [ qw(width height) ] => ( is => 'ro' ); | ||
| 10 | |||
| 11 | 1; | ||
| 12 | |||
| 13 | __END__ | ||
| 14 | |||
| 15 | =pod | ||
| 16 | |||
| 17 | =encoding UTF-8 | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Intertangle::Punchcard::Layout::Role::Constrainable - A role to hold constraints for bounding boxes | ||
| 22 | |||
| 23 | =head1 VERSION | ||
| 24 | |||
| 25 | version 0.001 | ||
| 26 | |||
| 27 | =head1 EXTENDS | ||
| 28 | |||
| 29 | =over 4 | ||
| 30 | |||
| 31 | =item * L<Moo::Object> | ||
| 32 | |||
| 33 | =back | ||
| 34 | |||
| 35 | =head1 ATTRIBUTES | ||
| 36 | |||
| 37 | =head2 top bottom left right | ||
| 38 | |||
| 39 | ... | ||
| 40 | |||
| 41 | =head2 width height | ||
| 42 | |||
| 43 | ... | ||
| 44 | |||
| 45 | =head1 AUTHOR | ||
| 46 | |||
| 47 | Zakariyya Mughal <zmughal@cpan.org> | ||
| 48 | |||
| 49 | =head1 COPYRIGHT AND LICENSE | ||
| 50 | |||
| 51 | This software is copyright (c) 2019 by Zakariyya Mughal. | ||
| 52 | |||
| 53 | This is free software; you can redistribute it and/or modify it under | ||
| 54 | the same terms as the Perl 5 programming language system itself. | ||
| 55 | |||
| 56 | =cut |