ps_setgray
PHP function
Edit on GitHub ✎
(PECL ps >= 1.1.0)
Sets gray value
Description
ps_setgray(resource $psdoc, float $gray): bool
Sets the gray value for all following drawing operations.
Parameters
psdocResource identifier of the postscript file as returned by
ps_new().grayThe value must be between 0 (white) and 1 (black).
Return Values
Success