下一篇 » « 上一篇

imagedashedline

作者:semirock    时间:2008-11-14    来源:http://444p.com    点击:3673    本文共1篇文章 字体:[ ]

imagedashedline

<HTML>
<HEAD>
<TITLE>imagedashedline</TITLE>
</HEAD>
<BODY>
<?
header("Content-type: image/gif");
$image = imagecreate(200,200);

// flood square with red
$colorRed = imagecolorallocate($image, 255, 0, 0);
imagefill($image, 0, 0, $colorRed);

$colorBlack = imagecolorallocate($image, 0, 0, 0);

// draw dashed line
imagedashedline($image, 10, 10, 150, 130, $colorBlack);

imagegif($image);
?>
</BODY>
</HTML>
发表评论
密码: (游客不需要密码)
记住我【Alt+S 或 Ctrl+Enter 快速提交】

搜索工具


热门搜索: [html][html][else][MYsql][mysql][调用][date][print][配置][配置]

《PHP函数》点击排行