PHP 手册
后退 |  | 前进

# ps_makespotcolor

(PECL)

ps_makespotcolor -- Create spot color

## 说明

int ps_makespotcolor ( resource psdoc, string name [, float reserved] )

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().

## 返回值

The id of the new spot color or 0 in case of an error.

## 参见

ps_setcolor()

后退 | 起点 | 前进
ps_lineto | 上一级 | ps_moveto