php man page for ps_shading

Query: ps_shading

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

PS_SHADING(3)								 1							     PS_SHADING(3)

ps_shading - Creates a shading for later use

SYNOPSIS
int ps_shading (resource $psdoc, string $type, float $x0, float $y0, float $x1, float $y1, float $c1, float $c2, float $c3, float $c4, string $optlist)
DESCRIPTION
Creates a shading, which can be used by ps_shfill(3) or ps_shading_pattern(3). The color of the shading can be in any color space except for pattern.
PARAMETERS
o $psdoc - Resource identifier of the postscript file as returned by ps_new(3). o $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(3) for their meaning). o $x0, x1, y0, y1 - The coordinates $x0, $y0, $x1, $y1 are the start and end point of the shading. If the type of shading is radial the two points are the middle points of a starting and ending circle. o $c1, c2, c3, c4 - See ps_setcolor(3) for their meaning. o $optlist - If 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 VALUES
Returns the identifier of the pattern or FALSE on failure.
SEE ALSO
ps_shading_pattern(3), ps_shfill(3). PHP Documentation Group PS_SHADING(3)
Related Man Pages
glshademodel(3g) - mojave
glshademodel(3g) - suse
glshademodel(3g) - osx
ps_makespotcolor(3) - php
ps_setcolor(3) - php
Similar Topics in the Unix Linux Community
merge lines within a file that start with a similar pattern
meaning of <<!
passing float parameter
Changing type name