Build-time plugin   License: MIT   Code quality on DeepScan   Open issues tagged pkg:plugin-logo

The logo plugin provides the logo snippet:

An example of 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


npm install @freesewing/plugin-logo


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);