SWFGradient::addEntry

(PHP 5 < 5.3.0, PECL ming SVN)

SWFGradient::addEntryAdds an entry to the gradient list

说明

SWFGradient::addEntry ( float $ratio , int $red , int $green , int $blue [, int $alpha = 255 ] ) : void
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).

返回值

没有返回值。

相关文章
php eventdnsbase adds a domain to the list of search domainsphp fdf 函数 adds a template into the fdf documentphp hash 函数 return a list of registered hashing algorithms suitable for hash hmacphp ldap 函数 modify the name of an entryphp odbc 函数 get the list of table names stored in a specific data sourcephp gmagick adds new image to gmagick object image listphp hyperwave api 函数 returns a list of all logged in usersphp imagick adds new image to imagick object image listphp quickhashinthash this method adds a new entry to the hashphp quickhashinthash this method updates an entry in the hash with a new value or adds a new one if the entry doesn t existphp quickhashintset this method adds a new entry to the setphp quickhashintstringhash this method adds a new entry to the hashphp quickhashintstringhash this method updates an entry in the hash with a new value or adds a new one if the entry doesn t existphp quickhashstringinthash this method adds a new entry to the hashphp quickhashstringinthash this method updates an entry in the hash with a new value or adds a new one if the entry doesn t existphp sdo das relational 函数 executes an sql query passed as a prepared statement with a list of values to substitute for placeholders and return the results as a normalised data graphphp spldoublylinkedlist check whether the doubly linked list contains more nodesphp splobjectstorage adds all objects from another storagephp swfgradient adds an entry to the gradient listphp swfgradient creates a gradient object
关注编程学问公众号