图形函数库 ImageLine (PHP3 , PHP4) ImageLine --- 画一条线 语法 : int imageline (int im, int x1, int y1, int x2, int y2, int col) 说明 : ImageLine( )在图形 im中,从 x1 , y1到 x2 , y2(左上方是 0,0)画一条线,线段的颜色为参数 col。 参考 : imagecreate( ) imagecolorallocate( ) 上一页 首页 下一页
图形函数库
ImageLine
(PHP3 , PHP4)
ImageLine --- 画一条线
语法 : int imageline (int im, int x1, int y1, int x2, int y2, int col)
int imageline (int im, int x1, int y1, int x2, int y2, int col)
int imageline
说明 :
ImageLine( )在图形 im中,从 x1 , y1到 x2 , y2(左上方是 0,0)画一条线,线段的颜色为参数 col。
参考 : imagecreate( ) imagecolorallocate( )