From 5aaa6a4f5482242ddfab1a9e09423963c7880c85 Mon Sep 17 00:00:00 2001 From: Yago Ferrer Date: Sat, 16 Jan 2010 15:41:21 +0000 Subject: [PATCH] Changing color to prevent to confuse newbies git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293619 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/image/functions/imagefilledpolygon.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/image/functions/imagefilledpolygon.xml b/reference/image/functions/imagefilledpolygon.xml index f610b826e4..39f58d4259 100644 --- a/reference/image/functions/imagefilledpolygon.xml +++ b/reference/image/functions/imagefilledpolygon.xml @@ -81,7 +81,7 @@ $values = array( $image = imagecreatetruecolor(250, 250); // allocate colors -$bg = imagecolorallocate($image, 200, 200, 200); +$bg = imagecolorallocate($image, 0, 0, 0) $blue = imagecolorallocate($image, 0, 0, 255); // fill the background