SWFGradient::__constructCreates a gradient object Beschreibung
SWFGradient::__construct
( void
)
Warnung
Diese Funktion ist EXPERIMENTELL. Das Verhalten, der Funktionsname und alles Andere, was hier dokumentiert ist, kann sich in zukünftigen PHP-Versionen ohne Ankündigung ändern. Seien Sie gewarnt und verwenden Sie diese Funktion auf eigenes Risiko. 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. Beispiel #1 swfgradient example
<?php |