File Coverage

blib/lib/XML/NewsML_G2/Graphics.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package XML::NewsML_G2::Graphics;
2              
3 18     18   129 use XML::NewsML_G2::Types;
  18         41  
  18         515  
4              
5 18     18   94 use Moose;
  18         37  
  18         99  
6 18     18   109291 use namespace::autoclean;
  18         37  
  18         120  
7 18     18   8411 use XML::NewsML_G2::Picture;
  18         65  
  18         1236  
8              
9             extends 'XML::NewsML_G2::Picture';
10              
11             __PACKAGE__->meta->make_immutable;
12              
13             1;
14             __END__
15              
16             =head1 NAME
17              
18             XML::NewsML_G2::Graphics - a graphics specification
19              
20             =head1 SYNOPSIS
21              
22             my $pic = XML::NewsML_G2::Graphics->new
23             (rendition => 'highRes',
24             mimetype => 'application/illustrator',
25             size => 21123,
26             altId => '1031-14-Wetter',
27             );
28              
29             =head1 ATTRIBUTES
30              
31             =over 4
32              
33             =item mimetype
34              
35             The MIME type of the picture file (e.g. image/jpg)
36              
37             =item size
38              
39             The size in bytes of the picture file
40              
41             = item width
42              
43             The width in pixel of the picture
44              
45             = item height
46              
47             The height in pixel of the picture
48              
49             = item orientation
50              
51             The picture orientation (1 is 'upright')
52              
53             = item colorspace
54              
55             The colorspace used by this picture (e.g. AdobeRGB)
56              
57             =back
58              
59             =head1 AUTHOR
60              
61             Mario Paumann C<< <mario.paumann@apa.at> >>
62              
63             =head1 LICENCE AND COPYRIGHT
64              
65             Copyright (c) 2014, APA-IT. All rights reserved.
66              
67             See L<XML::NewsML_G2> for the license.