分类分类
2015-10-22 15:55作者:yezheng
本文实例讲述了用xdoc做印章效果代码效果代码。分享给大家供大家参考。
运行效果截图如下:
具体代码如下:
<!DOCTYPE html>
<html lang="zh-cn" style="height:100%">
<head>
<meta charset="utf-8" />
<title>XDOC</title>
<script type="text/javascript" src="http://localhost:8080/xdoc/xdoc.js"></script>
</head>
<body style="margin:0px;overflow:hidden;height:100%">
<script type="text/xdoc" _format="png" style="width:100%;height:100%">
<xdoc>
<paper margin="0"/>
<body sizeType="autosize">
<para>
<arc height="200" strokeStyle="d3" strokeWidth="14" width="200" color="#ff0000">
<arc height="176" extent="210" strokeStyle="$(标宋)基于Web服务的PDF排版引擎" left="12" strokeWidth="20.0" top="12" width="176" start="-110" color="#ff0000">
<stext fillColor="#ff0000" height="44" left="64" top="64" text="★" width="44" color=""/>
<stext fontName="标宋" fillColor="#ff0000" height="20" left="52" top="132" text="XDOC" width="72" color=""/>
</arc>
</arc>
</para>
</body>
</xdoc>
</script>
</body>
</html>
相关