1.::SWF::Character(3) User Contributed Perl Documentation .::SWF::Character(3)
2
3
4
6 SWF::Character - SWF Character Class
7
9 use SWF::Character;
10 $character=$displayItem->getCharacter();
11 print $character->getWidth();
12
14 SWF::Character is a helper class, objects are available thru
15 SWF::DisplayItem's getCharacter() and SWF::Movie's importCharacter()
16 methods, so there is no constructor here.
17
19 $width = $character->getWidth()
20 This method returrns the character's width in px. If a character
21 has no bounds -1 is returned.
22
23 $height = $character->getHeight()
24 This method returrns the character's height in px. If a character
25 has no bounds -1 is returned.
26
28 developers of ming
29 ming.sourceforge.net
30
32 SWF, SWF::DisplayItem
33
34
35
36perl v5.28.1 2018-11-12 .::SWF::Character(3)