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

search for in the

SWFMorph> <SWFGradient->__construct()
Last updated: Sun, 25 Nov 2007

view this page in

SWFGradient->addEntry()

(PHP 4 >= 4.3.0)

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

Description

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

Deze functie is EXPERIMENTEEL. Dat betekent, dat het gedrag van deze functie, deze functienaam, in concreto ALLES dat hier gedocumenteerd is in een toekomstige uitgave van PHP ZONDER WAARSCHUWING kan veranderen. Wees gewaarschuwd, en gebruik deze functie op eigen risico.

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.

Return Values

No value is returned.



add a note add a note User Contributed Notes
SWFGradient->addEntry()
jolyon at mways dot co dot uk
31-Jan-2003 07:19
You only appear to be able to add up to 8 entries per gradient

SWFMorph> <SWFGradient->__construct()
Last updated: Sun, 25 Nov 2007
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites