GD 函数
PHP 手册

imagesetthickness

(PHP 4 >= 4.0.6, PHP 5)

imagesetthickness设定画线的宽度

说明

bool imagesetthickness ( resource $image , int $thickness )

imagesetthickness() 把画矩形,多边形,椭圆等等时所用的线宽设为 thickness 个像素。如果成功则返回 TRUE,失败则返回 FALSE

Note: 本函数需要 GD 2.0.1 或更高版本(推荐 2.0.28 及更高版本)。


GD 函数
PHP 手册