@freesewing/plugin-annotations
Version:
A FreeSewing plugin that provides pattern annotations
20 lines (19 loc) • 496 B
JavaScript
// Export hooks
export const notchesDefs = [
{
name: 'notch',
def: (scale) => `
<g id="notch" transform="scale(${scale})">
<circle cy="0" cx="0" r="1.4" class="fill-note"></circle>
<circle cy="0" cx="0" r="2.8" class="note"></circle>
</g>`,
},
{
name: 'bnotch',
def: (scale) => `
<g id="bnotch" transform="scale(${scale})">
<path d="M -1.1 -1.1 L 1.1 1.1 M 1.1 -1.1 L -1.1 1.1" class="note"></path>
<circle cy="0" cx="0" r="2.8" class="note"></circle>
</g>`,
},
]