1.5 KiB
1.5 KiB
title |
---|
logo |
The logo plugin provides the logo snippet:
let { Point, snippets, Snippet } = part.shorthand();
snippets.logo = new Snippet("logo", new Point(50, 30));
The logo plugin is part of our plugin-bundle
Installation
npm install @freesewing/plugin-logo
Usage
Like all build-time plugins, you load them
by passing them to the freesewing.Design
constructor:
import freesewing from "@freesewing/core";
import logo from "@freesewing/plugin-logo";
import config from "../config";
const Pattern = new freesewing.Design(config, logo);