note 89277 added to function.imagick-annotateimage
| From: | SimoneB at osu1 dot php dot net | Date: | Sun, 01 Mar 2009 15:16:04 +0000 |
| Subject: | note 89277 added to function.imagick-annotateimage | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-151287@lists.php.net to get a copy of this message | ||
The example in this page is wrong: it will always print black text.
The right way to change the text's color would be:
<?
/* Black text */
$pixel->setColor('black');
$draw->setStrokeColor($pixel); // This line is required, or text will always be black
?>
----
Server IP: 80.241.173.254
Probable Submitter: 79.6.0.109
----
Manual Page -- http://www.php.net/manual/en/function.imagick-annotateimage.php
Edit -- https://master.php.net/note/edit/89277
Del: integrated -- https://master.php.net/note/delete/89277/integrated
Del: useless -- https://master.php.net/note/delete/89277/useless
Del: bad code -- https://master.php.net/note/delete/89277/bad+code
Del: spam -- https://master.php.net/note/delete/89277/spam
Del: non-english -- https://master.php.net/note/delete/89277/non-english
Del: in docs -- https://master.php.net/note/delete/89277/in+docs
Del: other reasons-- https://master.php.net/note/delete/89277
Reject -- https://master.php.net/note/reject/89277
Search -- https://master.php.net/manage/user-notes.php