PHP 手册
上一页 |  | 下一页

# ps_shading_pattern

(PECL)

ps_shading_pattern -- Creates a pattern based on a shading

## 说明

int ps_shading_pattern ( resource psdoc, int shadingid, string optlist )

Creates a pattern based on a shading, which has to be created before with ps_shading(). Shading patterns can be used like regular patterns.

## 参数

`psdoc`

  Resource identifier of the postscript file as returned by ps_new().

`shadingid`

  The identifier of a shading previously created with ps_shading().

`optlist`

  This argument is not currently used.

## 返回值

The identifier of the pattern or `FALSE` in case of an error.

## 参见

ps_shading()
ps_shfill()

上一页 | 起始页 | 下一页
ps_setpolydash | 上一级 | ps_shading