SWFDisplayItem->multColor()
(no version information, might be only in CVS)
SWFDisplayItem->multColor() -- Multiplies the item's color transformOpis
class SWFDisplayItem {void multColor ( int red, int green, int blue [, int a] )
}
Ostrzeżenie |
Ta funkcja jest w stadium EKSPERYMENTALNYM. Oznacza to, że zachowanie funkcji, jej nazwa, w zasadzie wszystko udokumentowane tutaj może zostać zmienione w przyszłych wersjach PHP bez wcześniejszego uprzedzenia. Używaj tej funkcji na własne ryzyko. |
swfdisplayitem->multcolor() multiplies the item's color transform by the given values.
The object may be a swfshape(), a swfbutton(), a swftext() or a swfsprite() object. It must have been added using the swfmovie->add().
Parametry
These parameters are integers between 0 and 255 or hexadecimals between 0x00 and 0xFF:
red
Value of red component
green
Value of green component
blue
Value of blue component
a
Value of alpha component
Przykłady
This simple example will modify your picture's atmosphere to Halloween (use a landscape or bright picture).
Poprzedni | Spis treści | Następny |
SWFDisplayItem->moveTo() | Początek rozdziału |