SWFGradient
PHP 手册

SWFGradient->addEntry

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

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

返回值

无返回值。


SWFGradient
PHP 手册