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, 13 Nov 2009

view this page in

SWFGradient->addEntry

(PHP 4 >= 4.3.0)

SWFGradient->addEntry傾きリストにエントリを追加する

説明

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

この関数は、 実験的 なものです。この関数の動作・ 名前・その他ドキュメントに書かれている事項は、予告なく、将来的な PHP のリリースにおいて変更される可能性があります。 この関数は自己責任で使用してください。

swfgradient->addentry() は、gradient のリストに エントリを追加します。ratio は 0 から 1 までの 数値で、gradient にこの色が現れる割合を示します。 この値を増加させると、割合が増加します。

redgreenblue は色 (RGB モード) を表します。

返り値

値を返しません。



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

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