函式:ImageColorsForIndex()


ImageColorsForIndex

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

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

传回值: 阵列

函式种类: 图形处理

内容说明

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

参考

ImageColorAt()  ImageColorSet()  


[ 上一页 下一页 ]