Skip to main content

plugin-round

Published as @freesewing/plugin-round, this plugin provides the round macro which helps you create rounded corners on your designs.

Installation

npm install @freesewing/plugin-round

Usage

Either add it as a part plugins in your design, or add it to a pattern instance with Pattern.use().

import { roundPlugin } from '@freesewing/plugin-round'
// or
import { pluginRound } from '@freesewing/plugin-round'

Notes

The round macro is intended for rounding 90° angles. It does not support rounding other angles/corners.

This plugin is part of the core-plugins bundle, so there is no need to install or import it manually unless you wish to forego loading of core plugins yet still want to load this plugin.