note 91866 added to function.imagesetthickness
| From: | jean-raymond dot chauviere at gmail dot com | Date: | Tue, 30 Jun 2009 08:20:20 +0000 |
| Subject: | note 91866 added to function.imagesetthickness | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-157686@lists.php.net to get a copy of this message | ||
An easier to manage thickness is, before to draw in the ellipse to play with 2 ellipse with
different color :
imagefilledellipse ($this->image,60,42,57,57,$drawColor);
imagefilledellipse ($this->image,60,42,45,45,$backColor);
The first line draw a filled ellipse with the wanted color, and the 2nd one, draw an ellipse with
the background color from the same center, but is smaller.
The drawback of this method is that you erase everything in the middle of the ellipse.
----
Server IP: 89.31.146.176
Probable Submitter: 193.48.4.6
----
Manual Page -- http://www.php.net/manual/en/function.imagesetthickness.php
Edit -- https://master.php.net/note/edit/91866
Del: integrated -- https://master.php.net/note/delete/91866/integrated
Del: useless -- https://master.php.net/note/delete/91866/useless
Del: bad code -- https://master.php.net/note/delete/91866/bad+code
Del: spam -- https://master.php.net/note/delete/91866/spam
Del: non-english -- https://master.php.net/note/delete/91866/non-english
Del: in docs -- https://master.php.net/note/delete/91866/in+docs
Del: other reasons-- https://master.php.net/note/delete/91866
Reject -- https://master.php.net/note/reject/91866
Search -- https://master.php.net/manage/user-notes.php