ImagickDraw::setFillColor

(PECL imagick 2.0.0)

ImagickDraw::setFillColorSets the fill color to be used for drawing filled objects

說明

bool ImagickDraw::setFillColor ( ImagickPixel $fill_pixel )
Warning

此函式目前沒有參考文件;只有引數列表。

Sets the fill color to be used for drawing filled objects.

參數

fill_pixel

ImagickPixel to use to set the color

回傳值

無回傳值。

add a note add a note

User Contributed Notes 1 note

up
2
moguchicorp at gmail dot com
13 years ago
It also accepts color definitions by name and hexa, as in

<?php
$draw
= new ImagickDraw();

/* defined color black */
$draw->setFillColor('black');

/* some light brown */
$draw->setFillColor('#a4610f');

?>
To Top