导航首页 » 技术教程 » PHP:imagerectangle()的用法_GD库图像处理函数
PHP:imagerectangle()的用法_GD库图像处理函数 132 2023-12-15   

imagerectangle

(PHP 4, PHP 5)

imagerectangle — 画一个矩形

说明

bool imagerectangle ( resource $image , int $x1 , int $y1 , int $x2 , int $y2 , int $col )

imagerectangle()col 颜色在 image 图像中画一个矩形,其左上角坐标为 x1, y1,右下角坐标为 x2, y2。图像的左上角坐标为 0, 0。


!!!站长长期在线接!!!

网站、小程序:定制开发/二次开发/仿制开发等

各种疑难杂症解决/定制接口/定制采集等

站长微信:lxwl520520

站长QQ:1737366103