哈希空间 Ctrl + F 进行搜索
首页 php手册中文版 CSS中文手册 哈希文档 Markdown在线工具

Imagick::clipPathImage

(PECL imagick 2, PECL imagick 3)

Imagick::clipPathImageClips along the named paths from the 8BIM profile

说明

public Imagick::clipPathImage(string $pathname, bool $inside): bool

Clips along the named paths from the 8BIM profile, if present. Later operations take effect inside the path. It may be a number if preceded with #, to work on a numbered path, e.g., "#1" to use the first path.

参数

pathname

The name of the path

inside

If true later operations take effect inside clipping path. Otherwise later operations take effect outside clipping path.

返回值

成功时返回 true

错误/异常

错误时抛出 ImagickException。

打开 哈希空间 微信小程序中查看更佳