导航首页 »  技术教程 »  PHP:imagerectangle()的用法_GD库图像处理函数
PHP:imagerectangle()的用法_GD库图像处理函数 948 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。



文章评论 (0条)
发表评论
暂无评论,快来抢沙发吧~