超越PHP PHP动态 | 经典文章 | CLASS | 相关下载 | 常见问题 | FORUM | WIKI | 在线手册
Site search:    
<imageellipseimagefilledarc>
Last updated: Fri, 22 Jun 2007

imagefill

(PHP 3, PHP 4 , PHP 5)

imagefill -- 区域填充

说明

int imagefill ( resource image, int x, int y, int color)

imagefill()image 图像的坐标 xy(图像左上角为 0, 0)处用 color 颜色执行区域填充(即与 x, y 点颜色相同且相邻的点都会被填充)。




add a note add a note User Contributed Notes
imagefill
aqmprod at iname dot com
09-Jan-2000 09:08
This function does not seem to work with images already been transparent. If you fill at x=0, y=0, and there are still transparent parts that you did
not reach with your fill, they change to a different color.

The ImageColorSet function seems to be the solution, but i can't work with transparancy.

<imageellipseimagefilledarc>
 Last updated: Fri, 22 Jun 2007
view source | feedback | send page | sitemap | aboutus   
Copyright ® 2002-2003 PHPE.NET. All rights reserved
Last updated:2002-11-22