ps_setcolor

ps_setcolor -- Sets current color

Description

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. The colorspace should be one of 'gray', 'rgb, 'cmyk'. Depending on the colorspace either only the first, the first three all or remaining parameters will be used.

The parameter type can be 'both', 'fill', or 'stroke'.

Bugs

The second parameter is currently not evaluated. The color is always set for filling and drawing just as if 'both' where passed.


HIVE: All information for read only. Please respect copyright!
Hosted by hive ÊÃÁ: Êèåâñêàÿ ãîðîäñêàÿ áèáëèîòåêà