note 34998 deleted from function.cpdf-setrgbcolor-stroke by philip
| From: | philip@php.net | Date: | Fri, 28 Nov 2008 19:44:00 +0000 |
| Subject: | note 34998 deleted from function.cpdf-setrgbcolor-stroke by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-147130@lists.php.net to get a copy of this message | ||
Note Submitter: xerofun at gmx dot li
----
You have to set the color as a floating point value. So for white you can't use the values 255,
255, 255 (for red, green and blue) as you would do in a normal graphics program, you would have to
enter 1.0, 1.0, 1.0 .
So black would be 0.0, 0.0, 0.0.
Effectively all other colors are in between 0.0 and 1.0.