Imagick::setImageBorderColor

(PECL imagick 2, PECL imagick 3)

Imagick::setImageBorderColorSets the image border color

說明

public Imagick::setImageBorderColor(mixed $border): bool

Sets the image border color.

參數(shù)

border

The border color

返回值

成功時(shí)返回 true。

錯(cuò)誤/異常

錯(cuò)誤時(shí)拋出 ImagickException。

更新日志

版本 說明
PECL imagick 2.1.0 Now allows a string representing the color as a parameter. Previous versions allow only an ImagickPixel object.

<table id="f8ewz"><pre id="f8ewz"><output id="f8ewz"></output></pre></table>