Engraver

Customize your products, LIVE!

How to?

const textEngraver = new Engraver("text-canvas", {
  text: "Engraver",
  width: 500,
  fontSize: 24,
  height: 500,
  position: {
    right: 150,
    top: 140,
  },
  background: "./images/tshirt.png",
});

Easy API

textEngraver.setText('Some value');
textEngraver.setFont('Arial');
textEngraver.setColor('#000000');
textEngraver.setVertical(false);
textEngraver.export(); // as base64
textEngraver.on('change', () => ());