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

search for in the

SWFGradient->__construct> <SWFGradient
Last updated: Fri, 20 Nov 2009

view this page in

SWFGradient->addEntry

(PHP 4 >= 4.3.0)

SWFGradient->addEntryAdds an entry to the gradient list

Description

void addEntry ( float $ratio , int $red , int $green , int $blue [, int $alpha = 255 ] )
Warning

This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.

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).

Return Values

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 03:19
You only appear to be able to add up to 8 entries per gradient

SWFGradient->__construct> <SWFGradient
Last updated: Fri, 20 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites