some stub POD
[catagits/Reaction.git] / lib / Reaction / UI / ViewPort / Image.pm
1 package Reaction::UI::ViewPort::Image;
2
3 use Reaction::Class;
4 use namespace::clean -except => [ qw(meta) ];
5 extends 'Reaction::UI::ViewPort';
6
7 has uri => ( is => 'rw', isa => 'URI', required => 1);
8 has width => ( is => 'rw', isa => 'Int');
9 has height => ( is => 'rw', isa => 'Int');
10
11 __PACKAGE__->meta->make_immutable;
12
13 1;
14
15 __END__;
16
17
18 =head1 NAME
19
20 Reaction::UI::ViewPort::Image
21
22 =head1 DESCRIPTION
23
24 =head1 ATTRIBUTES
25
26 =head2 uri
27
28 Required URI object pointing to the image to be displayed.
29
30 =head2 width
31
32 Optional width in pixels.
33
34 =head2 height
35
36 Optional height in pixels.
37
38 =head1 AUTHORS
39
40 See L<Reaction::Class> for authors.
41
42 =head1 LICENSE
43
44 See L<Reaction::Class> for the license.
45
46 =cut