SWFGradient
PHP Manual

SWFGradient->addEntry

(No version information available, might be only in CVS)

SWFGradient->addEntryAdds an entry to the gradient list

Beschreibung

SWFGradient
void addEntry ( float $ratio , int $red , int $green , int $blue [, int $a ] )
Warnung

Diese Funktion ist EXPERIMENTELL. Das Verhalten, der Funktionsname und alles Andere was hier dokumentiert ist, kann sich in zukünftigen PHP-Versionen ohne Ankündigung ändern. Seien Sie gewarnt und verwenden Sie diese Funktion auf eigenes Risiko.

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.

Rückgabewerte

Es wird kein Wert zurückgegeben.


SWFGradient
PHP Manual