import WaveShaperNode from "@anlib/watermark";
const instace = new WaveShaperNode({
context: "我是水印",
container: "#container1", // 插入到那个容器里面, 不指定则是 body
rotate: -30
});
setTimeout(() => {
// 重新渲染
instace.render({
fontSize: 12,
context: "我变了",
color: "red",
rotate: -10,
width: 100,
height: 50,
container: "#container2",
});
}, 1500);
-
Notifications
You must be signed in to change notification settings - Fork 0
简单的水印生成
License
yang-Ann/watermark
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
简单的水印生成
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published