PHP Doku:: Adds an entry to the gradient list - function.swfgradient.addentry.html

Verlauf / Chronik / History: (17) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzNon-Text MIME-AusgabenMing (flash)The SWFGradient classSWFGradient->addEntry

Ein Service von Reinhard Neidl - Webprogrammierung.

The SWFGradient class

<<The SWFGradient class

SWFGradient->__construct>>

SWFGradient->addEntry

(PHP 4 >= 4.3.0)

SWFGradient->addEntryAdds an entry to the gradient list

Beschreibung

void SWFGradient::addEntry ( float $ratio , int $red , int $green , int $blue [, int $alpha = 255 ] )
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).

Rückgabewerte

Es wird kein Wert zurückgegeben.


Ein BenutzerBeitrag:
- Beiträge aktualisieren...
jolyon at mways dot co dot uk
1.02.2003 4:19
You only appear to be able to add up to 8 entries per gradient



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)