html 代码
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>HTML5 Canvas画印章</title>
</head>
<body>
<lable style="display: inline-block;margin:50px;font-size: 18px;"
>印章文字:
<input
type="text"
id="textname"
value="苏州市姑苏区监督管理局"
style="height: 30px;width: 200px;"
/>
</lable>
<input type="button" id="changename" value="点击生成" />
<input
type="button"
onclick="javascript:download();"
id=""
value="点击下载印章"
/>
<div>
<canvas
id="canvas"
width="400"
height="400"
style="margin-left: 130px;border: 1px