You only appear to be able to add up to 8 entries per gradient
(PHP 5 < 5.3.0, PECL ming SVN)
SWFGradient::addEntry — Adds an entry to the gradient list
$ratio
, int $red
, int $green
, int $blue
[, int $alpha
= 255
] ) : voidTa 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).
Nie jest zwracana żadna wartość.
You only appear to be able to add up to 8 entries per gradient