PHP » GoLang |
login |
register |
about
|
GoLang SWFGradient::__construct
request it (250)
GoLang replacement for PHP's SWFGradient::__construct
[edit | history]
SWFGradient::__construct(PHP 5 < 5.3.0, PECL ming SVN) SWFGradient::__construct — Creates a gradient object Description
SWFGradient::__construct
( void
)
Warning
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. 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 |
more
Recently updated
more
Most requested
more
Last requests
|