Podręcznik PHP Poprzedni Następny (no version information, might be only in CVS) SWFGradient->addEntry()&n..."/>
Forum und email
SWFGradient->addEntry()

SWFGradient->addEntry()

(no version information, might be only in CVS)

SWFGradient->addEntry() -- Adds an entry to the gradient list

Opis

class SWFGradient {

void addEntry ( float ratio, 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.

swfgradient->addentry() adds an entry to the gradient list. ratio is a number between 0 and 1 indicating where in the gradient this color appears. Thou shalt add entries in order of increasing ratio.

red, green, blue is a color (RGB mode). Last parameter a is optional.

Zwracane wartości

Żadna wartość nie jest zwracana.