PHP. Руководство по PHP. 2005
ps_setcolor
ps_setcolor
Описание
bool ps_setcolor (resource psdoc, string type, string colorspace, float c1, float c2, float c3, float c4)Sets the color for drawing, filling, or both.
Список параметров
- psdoc
- type
-
The parameter type can be
both, fill, or
fillstroke.
- 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.
- c1
- c2
- c3
- c4
Bugs
The second parameter is currently not always evaluated. The color is
sometimes set for filling and drawing just as if
fillstroke were passed.
Возвращаемые значения
Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.
ps_set_value
ps_setdash
Отвечу на любые вопросы. С уважением, Дмитрий Владимирович.