圖形函式庫

ImageSetPixel

(PHP3 , PHP4)

ImageSetPixel ---  設定單一像素

語法 : int imagesetpixel (int im, int x, int y, int col)

說明 : 

ImageSetPixel( )在圖形 im中,在 x,y的位置上(左上角是 0,0)畫出一個顏色為 col的像素

參考 : imagecreate( )  imagecolorallocate( )


上一頁 首頁 下一頁