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');
?>
ImagickDraw::setFillColor
(PECL imagick 2.0.0)
ImagickDraw::setFillColor — Sets the fill color to be used for drawing filled objects
Descrierea
Avertizare
Această funcție nu este documentată în prezent; este disponibilă numai lista sa de argumente.
Sets the fill color to be used for drawing filled objects.
Parametri
-
fill_pixel -
ImagickPixel to use to set the color
Valorile întoarse
Nu este întoarsă nici o valoare.
moguchicorp at gmail dot com ¶
2 years ago
