|
Home
iRate! IceMelon IM Tutorials Headlines CoolSites PHP Functions |
|
Most Referenced Functions » google_pagerank() » preg_replace() » imagecreatefrompng() » site_pageranks() » imagepng() » imagedestroy() » imagestring() » imagecolorallocate() » htmlentities() » preg_match() » fopen() » header() » getimagesize() » preg_match_all() » session_start() » htmlspecialchars() » ob_start() » ob_flush() » strstr() » flush() » strpos() » setcookie() » str_replace() » array2vars() » nl2br() » preg_split() » ereg() » ereg_replace() » urlencode() » readgzfile() Become a sponsor for $15/month. Link is sitewide - PR5 homepage, 20+ PR4 pages, 90+ PR3 pages. Email dave[AT]icemelon[D0T]c0m. |
PHP Functions
Function: ps_shading (PECL) ps_shading -- Creates a shading for later useDescriptionint ps_shading ( resource psdoc, string type, float x0, float y0, float x1, float y1, float c1, float c2, float c3, float c4, string optlist )Creates a shading, which can be used by ps_shfill() or ps_shading_pattern() . The color of the shading can be in any color space except for pattern . Parameters
psdoc type The type of shading can be either radial or axial . Each shading starts with the current fill color and ends with the given color values passed in the parameters c1 to c4 (see ps_setcolor() for their meaning). x0, x1, y0, y1The coordinates x0 , y0 , x1 , y1 are the start and end point of the shading. c1, c2, c3, c4See ps_setcolor() for their meaning. optlistIf the shading is of type radial the optlist must also contain the parameters r0 and r1 with the radius of the start and end circle. Return ValuesReturns the identifier of the pattern or FALSE in case of an error. Related Function(s) |