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, 24 Jul 2009

view this page in

SWFGradient->addEntry

(PHP 4 >= 4.3.0)

SWFGradient->addEntryAdds an entry to the gradient list

설명

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

이 함수는 실험적입니다. 이 함수의 작동, 함수의 이름, 그리고 관련된 모든 문서는 이후의 PHP 릴리즈에서 예고 없이 변경할 수 있습니다. 이 함수의 사용에 관한 것은 사용자 책임입니다.

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

반환값

값을 반환하지 않습니다.



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, 24 Jul 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites