PHP 手册
上一页 |  | 下一页

# ps_shfill

(PECL)

ps_shfill -- Fills an area with a shading

## 说明

bool ps_shfill ( resource psdoc, int shadingid )

Fills an area with a shading, which has to be created before with ps_shading(). This is an alternative way to creating a pattern from a shading ps_shading_pattern() and using the pattern as the filling color.

## 参数

`psdoc`

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

`shadingid`

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

## 返回值

如果成功则返回 `TRUE`，失败则返回 `FALSE`。

## 参见

ps_shading()
ps_shading_pattern()

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