y-seal
v1.0.6
Published
印章
Downloads
21
Readme
用法
<canvas id="seal"></canvas>
import Seal from "y-seal";
var seal = new Seal("#seal", {
radius: 75,// 默认半径75px
color: "red",// 默认颜色红色
companyName: "上海妙一生物科技有限公司", // 默认 上海妙一生物科技有限公司
fontFamily: "宋体", // 默认宋体
typeName: "", // 印章类型 默认为空
hasInnerLine: false ,// 内边框 默认false
securityCode: "", // 防伪码 只能为13位 默认空
})
seal.saveSealImg(); // 保存成图片