1.::SWF::Matrix(3)     User Contributed Perl Documentation    .::SWF::Matrix(3)
2
3
4

NAME

6       SWF::Matrix - SWF matrix class
7

SYNOPSIS

9               use SWF::Matrix;
10               $matrix = $displayItem->getMatrix();
11               $scaleX = $matrix->getScaleX();
12

DESCRIPTION

14       SWF::Matrix is a helper class useful for getting information about a
15       display items's matrix. There is no constructor method, SWF::Matrix
16       objects are available only thru SWF::DisplayItem's getMatrix() method.
17       The methods below give you read access to the six matrix elements.
18

METHODS

20       $scaleX = $matrix->getScaleX()
21           Returns X scale.
22
23       $scaleY = $matrix->getScaleY()
24           Returns Y scale.
25
26       $rot0 = $matrix->getRotate0()
27           Returns rotation value 0.
28
29       $rot1 = $matrix->getRotate1()
30           Returns rotation value 1.
31
32       $trX = $matrix->getTranslateX()
33           Returns X translation value.
34
35       $trY = $matrix->getTranslateY()
36           Returns Y translation value.
37

AUTHOR

39               developers of
40               ming.sourceforge.net
41

SEE ALSO

43       SWF, SWF::DisplayItem
44
45
46
47perl v5.32.0                      2020-07-28                 .::SWF::Matrix(3)
Impressum