圖形函式庫 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值。