LOADING STUFF...

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

技术教程4小时前发布 北陌
22 0 0

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

imagestring

(PHP 4, PHP 5)

imagestring — 水平地画一行字符串

说明

bool imagestring
( resource $image
, int $font
, int $x
, int $y
, string $s
, int $col
)

imagestring() 用 col
颜色将字符串 s 画到 image
所代表的图像的 x,y
坐标处(这是字符串左上角坐标,整幅图像的左上角为 0,0)。如果
font 是 1,2,3,4 或 5,则使用内置字体。

Example #1 imagestring() 例子

//

© 版权声明

相关文章

暂无评论

暂无评论...