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

search for in the

SWFGradient::__construct> <SWFGradient
[edit] Last updated: Fri, 07 Jun 2013

view this page in

SWFGradient::addEntry

(PHP 4 >= 4.3.0)

SWFGradient::addEntryAdds an entry to the gradient list

Açıklama

void SWFGradient::addEntry ( float $ratio , int $red , int $green , int $blue [, int $alpha = 255 ] )
Uyarı

Bu işlev DENEYSELDİR. Bu işlevin davranışı, ismi ve belgeleri PHP'nin sonraki sürümlerinde hiçbir duyuru yapılmaksızın değiştirilebilir. Bu riski göze alamayacaksanız bu işlevi kullanmayın.

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

Dönen Değerler

Hiçbir değer dönmez.



add a note add a note User Contributed Notes SWFGradient::addEntry - [1 notes]
up
0
jolyon at mways dot co dot uk
10 years ago
You only appear to be able to add up to 8 entries per gradient

 
show source | credits | stats | sitemap | contact | advertising | mirror sites