SWF::Matrix - SWF matrix class
use SWF::Matrix; $matrix = $displayItem->getMatrix(); $scaleX = $matrix->getScaleX();
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.
getScaleX()
Returns X scale.
getScaleY()
Returns Y scale.
Returns rotation value 0.
Returns rotation value 1.
getTranslateX()
Returns X translation value.
getTranslateY()
Returns Y translation value.
developers of ming.sourceforge.net
SWF, SWF::DisplayItem