SWF/Text.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Alzabo::Display::SWF::Text;
2  
3 use strict;
4 use warnings;
5  
6 use SWF::Text;
7 our $VERSION = '0.01';
8 sub new {
9 my $pkg = shift;
10 my $t = new SWF::Text;
11 $t->setFont($_[1]);
12 $t->setColor(@_[2..4]);
13 $t->setHeight(12);
14 $t->addString($_[0]);
15 return $t;
16 }
17  
18 1;
19