|
PHP5中文手册
SWFGradient->__construct()(PHP 5) SWFGradient->__construct() — Creates a gradient object 说明SWFGradient
SWFGradient __construct
( void
)
Warning
本函数是实验性的。本函数的行为,包括函数名称以及其它任何关于本函数的文档可能会在没有通知的情况下随 PHP 以后的发布而改变。使用本函数风险自担。 swfgradient() creates a new SWFGradient object. After you've added the entries to your gradient, you can use the gradient in a shape fill with the swfshape->addfill() method. SWFGradient has the following methods : swfgradient->addentry(). This simple example will draw a big black-to-white gradient as background, and a reddish disc in its center. Example#1 swfgradient() example
<?php |