The Imagick class
PHP 手册

Imagick::setBackgroundColor

(PECL imagick 2.0.0)

Imagick::setBackgroundColorSets the object's default background color

说明

bool Imagick::setBackgroundColor ( mixed $background )
Warning

本函数暂无文档,仅有参数列表。

Sets the object's default background color.

参数

background

返回值

Returns TRUE on success.

更新日志

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


The Imagick class
PHP 手册