note 77404 added to function.imagickdraw-setgravity

From: Date: Tue, 28 Aug 2007 14:51:21 +0000
Subject: note 77404 added to function.imagickdraw-setgravity
Groups: php.notes 
Request: Send a blank email to php-notes+get-129854@lists.php.net to get a copy of this message
Gravity constants are very useful as they can save having to calculate the placement of variable text strings and font sizes. For example: $draw->setGravity (Imagick::GRAVITY_CENTER); $image->annotateImage($draw, 0, 0, 0, 'The quick brown fox jumps over the lazy dog'); Will horizontally and vertically center the text string. Note, there are several gravity constants available. See, Constants — Imagick class constants ---- Server IP: 69.147.83.197 Probable Submitter: 69.255.41.127 ---- Manual Page -- http://www.php.net/manual/en/function.imagickdraw-setgravity.php Edit -- https://master.php.net/note/edit/77404 Del: integrated -- https://master.php.net/note/delete/77404/integrated Del: useless -- https://master.php.net/note/delete/77404/useless Del: bad code -- https://master.php.net/note/delete/77404/bad+code Del: spam -- https://master.php.net/note/delete/77404/spam Del: non-english -- https://master.php.net/note/delete/77404/non-english Del: in docs -- https://master.php.net/note/delete/77404/in+docs Del: other reasons-- https://master.php.net/note/delete/77404 Reject -- https://master.php.net/note/reject/77404 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#129854) next »