note 34998 added to function.cpdf-setrgbcolor-stroke

From: Date: Thu, 14 Aug 2003 16:46:26 +0000
Subject: note 34998 added to function.cpdf-setrgbcolor-stroke
Groups: php.notes 
Request: Send a blank email to php-notes+get-54168@lists.php.net to get a copy of this message
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. ---- Manual Page -- http://www.php.net/manual/en/function.cpdf-setrgbcolor-stroke.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34998 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34998&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34998&report=yes

« previous php.notes (#54168) next »