php man page for ps_setcolor

Query: ps_setcolor

OS: php

Section: 3

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

PS_SETCOLOR(3)								 1							    PS_SETCOLOR(3)

ps_setcolor - Sets current color

SYNOPSIS
bool ps_setcolor (resource $psdoc, string $type, string $colorspace, float $c1, float $c2, float $c3, float $c4)
DESCRIPTION
Sets the color for drawing, filling, or both.
PARAMETERS
o $psdoc - Resource identifier of the postscript file as returned by ps_new(3). o $type - The parameter $type can be both, fill, or fillstroke. o $colorspace - The colorspace should be one of gray, rgb, cmyk, spot, pattern. Depending on the colorspace either only the first, the first three or all parameters will be used. o $c1 - Depending on the colorspace this is either the red component (rgb), the cyan component (cmyk), the gray value (gray), the iden- tifier of the spot color or the identifier of the pattern. o $c2 - Depending on the colorspace this is either the green component (rgb), the magenta component (cmyk). o $c3 - Depending on the colorspace this is either the blue component (rgb), the yellow component (cmyk). o $c4 - This must only be set in cmyk colorspace and specifies the black component.
BUGS
The second parameter is currently not always evaluated. The color is sometimes set for filling and drawing just as if fillstroke were passed.
RETURN VALUES
Returns TRUE on success or FALSE on failure. PHP Documentation Group PS_SETCOLOR(3)
Related Man Pages
mlib_videocolorjfifycck2cmyk444(3mlib) - sunos
ps_shading(3) - php
imagecolorclosestalpha(3) - php
ps_begin_pattern(3) - php
ps_makespotcolor(3) - php
Similar Topics in the Unix Linux Community
Conditionally joining lines in vi
How do I search with regex in one spot?
Can anyone help me to spot my mistake?