note 120848 added to function.imagesetstyle

From: Date: Tue, 21 Mar 2017 17:26:58 +0000
Subject: note 120848 added to function.imagesetstyle
Groups: php.notes 
Request: Send a blank email to php-notes+get-208939@lists.php.net to get a copy of this message
To clarify, for lines where the thickness is greater than 1, the total length of the $style array needs to be an exact divisor of the length of the line. This is because the pattern is repeated lengthways and wraps onto the second row of pixels, causing staggering to occur. So if you have 5 red and 5 white pixels, and you want a line length of 55 pixels, either change the length to a multiple of 10, or change the dashes to, say, 6 red and 5 white. ---- Server IP: 72.52.91.14 Probable Submitter: 92.27.33.185 ---- Manual Page -- http://php.net/manual/en/function.imagesetstyle.php Edit -- https://master.php.net/note/edit/120848 Del: integrated -- https://master.php.net/note/delete/120848/integrated Del: useless -- https://master.php.net/note/delete/120848/useless Del: bad code -- https://master.php.net/note/delete/120848/bad+code Del: spam -- https://master.php.net/note/delete/120848/spam Del: non-english -- https://master.php.net/note/delete/120848/non-english Del: in docs -- https://master.php.net/note/delete/120848/in+docs Del: other reasons-- https://master.php.net/note/delete/120848 Reject -- https://master.php.net/note/reject/120848 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#208939) next »