PHP:imagerectangle()的用法_GD库图像处理函数

技术教程2个月前发布 北陌
355 00

PHP:imagerectangle()的用法_GD库图像处理函数

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。

© 版权声明

相关文章

暂无评论

none
暂无评论...