lib/SDL2/Color.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 3 | 3 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 1 | 1 | 100.0 |
pod | n/a | ||
total | 4 | 4 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package SDL2::Color { | ||||||
2 | 2 | 2 | 23 | use SDL2::Utils; | |||
2 | 5 | ||||||
2 | 13 | ||||||
3 | has r => 'uint8', g => 'uint8', b => 'uint8', a => 'uint8'; | ||||||
4 | |||||||
5 | =encoding utf-8 | ||||||
6 | |||||||
7 | =head1 NAME | ||||||
8 | |||||||
9 | SDL2::Color - RGBA color structure | ||||||
10 | |||||||
11 | =head1 SYNOPSIS | ||||||
12 | |||||||
13 | use SDL2 qw[:all]; | ||||||
14 | # TODO: I need to whip up a quick example | ||||||
15 | |||||||
16 | =head1 DESCRIPTION | ||||||
17 | |||||||
18 | |||||||
19 | =head1 Fields | ||||||
20 | |||||||
21 | =over | ||||||
22 | |||||||
23 | =item C |
||||||
24 | |||||||
25 | =item C |
||||||
26 | |||||||
27 | =item C | ||||||
28 | |||||||
29 | =item C | ||||||
30 | |||||||
31 | =back | ||||||
32 | |||||||
33 | =head1 AUTHOR | ||||||
34 | |||||||
35 | Sanko Robinson E |
||||||
36 | |||||||
37 | =begin stopwords | ||||||
38 | |||||||
39 | |||||||
40 | =end stopwords | ||||||
41 | |||||||
42 | =cut | ||||||
43 | |||||||
44 | }; | ||||||
45 | 1; |