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 colorSYNOPSISbool ps_setcolor (resource $psdoc, string $type, string $colorspace, float $c1, float $c2, float $c3, float $c4)DESCRIPTIONSets the color for drawing, filling, or both.PARAMETERSo $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.BUGSThe second parameter is currently not always evaluated. The color is sometimes set for filling and drawing just as if fillstroke were passed.RETURN VALUESReturns TRUE on success or FALSE on failure. PHP Documentation Group PS_SETCOLOR(3)
Related Man Pages |
---|
mpsimageconversion(3) - mojave |
ps_setcolor(3) - debian |
mlib_videocolorjfifycck2cmyk444(3mlib) - opensolaris |
ps_open_image(3) - php |
ps_setcolor(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? |