Rechercher une page de manuel
SWF::Matrix.3pm
Langue: en
Version: 2009-11-25 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
NAME
SWF::Matrix - SWF matrix classSYNOPSIS
use SWF::Matrix; $matrix = $displayItem->getMatrix(); $scaleX = $matrix->getScaleX();
DESCRIPTION
SWF::Matrix is a helper class useful for getting information about a display items's matrix. There is no constructor method, SWF::Matrix objects are available only thru SWF::DisplayItem's getMatrix() method. The methods below give you read access to the six matrix elements.METHODS
- $scaleX = $matrix->getScaleX()
- Returns X scale.
- $scaleY = $matrix->getScaleY()
- Returns Y scale.
- $rot0 = $matrix->getRotate0()
- Returns rotation value 0.
- $rot1 = $matrix->getRotate1()
- Returns rotation value 1.
- $trX = $matrix->getTranslateX()
- Returns X translation value.
- $trY = $matrix->getTranslateY()
- Returns Y translation value.
AUTHOR
developers of ming.sourceforge.net
SEE ALSO
SWF, SWF::DisplayItemContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre