imagesetpixel

函式:ImageSetPixel()

圖形處理函式館

imagesetpixel — 畫一個單一像素。

語法: bool imagesetpixel ( resource $image , int $x , int $y , int $color )

返回值: 整數

函式種類: 圖形處理

內容說明

imagesetpixel() 在 image 圖像中用 color 顏色在 x, y 坐標(圖像左上角為 0,0)上畫一個點。

本函式可在圖片上繪出一點。參數 x、y 為欲繪點的坐標,參數 col 表示該點的顏色。

相關詞條

相關搜尋

熱門詞條

聯絡我們