base64-svg-watermark
v1.0.1
Published
base64 svg watermark
Downloads
4
Readme
base64-svg-watermark
https://www.npmjs.com/package/base64-svg-watermark
https://github.com/xgqfrms/base64-svg-watermark
install
$ npm i -S base64-svg-watermark
usage
import SvgWatermark from "base64-svg-watermark";
const config = {
text: "xgqfrms",
x: 0,
y: 0,
width 100,
height: 100,
// font-family
font: "sans-serif",
fontSize: 12,
color: "#00ff00",
alpha: 0.3,
angle: 45,
};
const watermark = new SvgWatermark(config);