SWFGradient::addEntry

(PHP 5 < 5.3.0, PECL ming SVN)

SWFGradient::addEntryAdds an entry to the gradient list

Descrição

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

Esta função é EXPERIMENTAL. O comportamento, seu nome e documentação podem mudar sem aviso em futuras versões do PHP. Utilize por sua própria conta e risco.

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

Valor Retornado

Não há valor retornado.

add a note add a note

User Contributed Notes 1 note

up
0
jolyon at mways dot co dot uk
21 years ago
You only appear to be able to add up to 8 entries per gradient
To Top