图形函数库 ImageColorsForIndex (PHP3 , PHP4) ImageColorsForIndex --- 从索引值取得颜色 语法 : array imagecolorsforindex (int im, int index) 说明 : 此函数传回指定的颜色索引值的RGB值,传回的数组有red、green和blue这三个索引值,数组的值为指定的颜色索引值的RGB值。 上一页 首页 下一页
图形函数库
ImageColorsForIndex
(PHP3 , PHP4)
ImageColorsForIndex --- 从索引值取得颜色
语法 : array imagecolorsforindex (int im, int index)
array imagecolorsforindex (int im, int index)
array imagecolorsforindex
说明 :
此函数传回指定的颜色索引值的RGB值,传回的数组有red、green和blue这三个索引值,数组的值为指定的颜色索引值的RGB值。