Forum und email

SWFGradient->addEntry()

(PHP 4 >= 4.3.0)

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

Popis

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

Táto funkcia je EXPERIMENTÁLNA. Správanie tejto funkcie, názov tejto funkcie a hocičo iné zdokumentované o tejto funkcii sa môže zmeniť bez povšimnutia v budúcom vydaní PHP. Používajte túto funkcii na svoje vlastné riziko.

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.

Vrátené hodnoty

Nevráti sa žiadna hodnota.