PHP » GoLang |
login |
register |
about
|
GoLang ps_makespotcolor
request it (297)
GoLang replacement for PHP's ps_makespotcolor
[edit | history]
ps_makespotcolor(PECL ps >= 1.1.0) ps_makespotcolor — Create spot color Description
int ps_makespotcolor
( resource
$psdoc
, string $name
[, int $reserved = 0
] )Creates a spot color from the current fill color. The fill color must be defined in rgb, cmyk or gray colorspace. The spot color name can be an arbitrary name. A spot color can be set as any color with ps_setcolor(). When the document is not printed but displayed by an postscript viewer the given color in the specified color space is use. Parameters
Return ValuesThe id of the new spot color or 0 in case of an error. Examples
Example #1 Creating and using a spot color
<?php This example creates the spot color "PANTONE 5565 C" which is a darker green (olive) and fills a rectangle with 50% intensity. |
more
Recently updated
more
Most requested
more
Last requests
|