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

imagesettile

(PHP 4 >= 4.0.6, PHP 5)

imagesettile -- 设定用于填充的贴图

说明

int imagesettile ( resource image, resource tile )

imagesettile() 设定所有区域填充函数(例如 imagefill()imagefilledpolygon())在使用特殊颜色 IMG_COLOR_TILED 填充时所使用的贴图。

贴图是指用重复的样式来填充一块区域所使用的图像。任何 GD 图像都能用作贴图,并且通过使用 imagecolortransparent() 来设定贴图的透明色,贴图可以使底层的特定区域透上来。

注: 使用完贴图后不需要采取什么特殊动作。但如果销毁了贴图,在设定一个新的贴图之前不能使用 IMG_COLOR_TILED




<imagesetthicknessimagestring>
 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