Closes path

# ps_closepath

(PECL ps >= 1.1.0)

ps_closepath — Closes path

### 说明

function ps_closepath(resource `$psdoc`): bool

Connects the last point with the first point of a path. The resulting path can be used for stroking, filling, clipping, etc..

### 参数

`psdoc`

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

### 返回值

成功时返回 `true`， 或者在失败时返回 `false`。

### 参见

- ps_clip() - Clips drawing to current path
- ps_closepath_stroke() - Closes and strokes path

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open