IT学习者 -> 技术文档 -> PHP 完全中文手册

函数:ImageColorsForIndex()


ImageColorsForIndex

取得色表上指定索引的颜色。

语法: array imagecolorsforindex(int im, int index);

返回值: 数组

函数种类: 图形处理

内容说明

本函数用来取得调色盘上指定索引的颜色值。参数 index 为索引值。数组返回值分别为红、绿、蓝三原色的值。

参考

ImageColorAt()  ImageColorSet()  



[ 上一页  PHP中文手册  下一页 ]

PHP 首页 | PHP 导读 | PHP 函数库 | PHP 函数索引 | PHP 范例程序