PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<imagefilledrectangleimagefilter>
Last updated: Mon, 16 Jul 2012

imagefilltoborder

(PHP 3, PHP 4, PHP 5)

imagefilltoborder -- 区域填充到指定颜色的边界为止

说明

int imagefilltoborder ( resource image, int x, int y, int border, int color )

imagefilltoborder()xy(图像左上角为 0, 0)点开始用 color 颜色执行区域填充,直到碰到颜色为 border 的边界为止。【注:边界内的所有颜色都会被填充。如果指定的边界色和该点颜色相同,则没有填充。如果图像中没有该边界色,则整幅图像都会被填充。】




<imagefilledrectangleimagefilter>
 Last updated: Mon, 16 Jul 2012
 
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://manual.phpv.net/
Last updated: Thu Jul 7 19:13:47 2005 CST