PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

SWFGradient->__construct> <SWFGradient
Last updated: Fri, 22 Aug 2008

view this page in

SWFGradient->addEntry

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

SWFGradient->addEntryAdds an entry to the gradient list

Descripción

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

Esta función es EXPERIMENTAL. Esto significa que el comportamiento de esta función, el nombre de esta función y en definitiva TODO lo documentado sobre esta función, puede cambiar en una futura version de PHP SIN AVISO. La advertencia queda hecha, y utilizar esta extensión queda bajo su propia responsabilidad.

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.

Valores retornados

No value is returned.



add a note add a note User Contributed Notes
SWFGradient->addEntry
jolyon at mways dot co dot uk
01-Feb-2003 04:19
You only appear to be able to add up to 8 entries per gradient

SWFGradient->__construct> <SWFGradient
Last updated: Fri, 22 Aug 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites