SWFGradient::addEntry

(PHP 5 <= 5.3.0, PECL ming SVN)
Adds an entry to the gradient list
void SWFGradient::addEntry ( float $ratio, int $red, int $green, int $blue [, int $alpha = 255 ] )

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

Returns:

No value is returned.

This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.

doc_php
2016-02-24 16:03:47
Comments
Leave a Comment

Please login to continue.