note 94197 added to function.imagickdraw-setstrokelinejoin
| From: | sudopeoplegmail at osu1 dot php dot net | Date: | Wed, 21 Oct 2009 22:32:48 +0000 |
| Subject: | note 94197 added to function.imagickdraw-setstrokelinejoin | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-161960@lists.php.net to get a copy of this message | ||
For many (myself included) Rex's note maybe not be blatant enough. The constants are declared
for the Imagick class only, so using them requires this syntax: Imagick::LINEJOIN_ constant
Here's an example oh how you might use it:
$img = new Imagick();
$img->newImage($width, $height, new ImagickPixel('transparent'));
$draw = new ImagickDraw();
$draw->setStrokeLineJoin(Imagick::LINEJOIN_ROUND);
If you're not drawing polylines and are drawing simple lines, also see setStrokeLineCap
----
Server IP: 69.147.83.197
Probable Submitter: 65.105.233.228
----
Manual Page -- http://www.php.net/manual/en/function.imagickdraw-setstrokelinejoin.php
Edit -- https://master.php.net/note/edit/94197
Del: integrated -- https://master.php.net/note/delete/94197/integrated
Del: useless -- https://master.php.net/note/delete/94197/useless
Del: bad code -- https://master.php.net/note/delete/94197/bad+code
Del: spam -- https://master.php.net/note/delete/94197/spam
Del: non-english -- https://master.php.net/note/delete/94197/non-english
Del: in docs -- https://master.php.net/note/delete/94197/in+docs
Del: other reasons-- https://master.php.net/note/delete/94197
Reject -- https://master.php.net/note/reject/94197
Search -- https://master.php.net/manage/user-notes.php