844 B
844 B
title |
---|
@freesewing/plugin-banner |
The @freesewing/plugin-banner plugin provides the banner macro. This macro allows you to add repeating text along a path.
Example
Example of the banner macro provided by this plugin
Installation
npm install @freesewing/plugin-banner
Usage
Like all build-time plugins, you load them by passing them to the freesewing.Design super-constructor:
import freesewing from "@freesewing/core";
import banner from "@freesewing/plugin-banner";
import config from "../config";
const Pattern = new freesewing.Design(config, banner);
Now you can use the banner macros in your parts.