SWF::CXform - SWF CXform class
use SWF::CXform; $cxf = new SWF::CXform(); $cxf->setColorAdd(100, 200, 30.5 , -50); $dispitem->setCXform($cxf);
SWF::CXform is a helper class useful for color transformations on SWF::DisplayItem objects.
Creates a CXform object. The object is controlled by a parameter list of RGBA values
both for addition and multiplication. All of them are optional, but could be set later
via setColorAdd()
and setColorMult()
methods. Default values for the xAdd parameters are 0,
and for xMult defaults are 1. Use the created object as parameter for transformations on
SWF::DisplayItem objects.
Set addition values of a CXform object.
Set multiplication values of a CXform object.
developers of ming.sourceforge.net
SWF, SWF::DisplayItem, SWF::Filter