Skip to main content

devon

note

This design is part of the FreeSewing collection

Named exports

  • Devon: The design constructor
  • about: Metadata about the design
  • back: The back part of the design
  • backPanel: The backPanel part of the design
  • backSide: The backSide part of the design
  • backYoke: The backYoke part of the design
  • base: The base part of the design
  • cuff: The cuff part of the design
  • frontFacing: The frontFacing part of the design
  • frontInside: The frontInside part of the design
  • frontPanel: The frontPanel part of the design
  • frontSidePanel: The frontSidePanel part of the design
  • frontYoke: The frontYoke part of the design
  • i18n: Internationalisation (i18n/translation) data for the design
  • pocket: The pocket part of the design
  • pocketflap: The pocketflap part of the design
  • sleeve: The sleeve part of the design
  • topSleeve: The topSleeve part of the design
  • underCollar: The underCollar part of the design
  • underSleeve: The underSleeve part of the design
  • upperCollar: The upperCollar part of the design
  • waistband: The waistband part of the design

Constructor

To create a new devon Design, import the constructur as such:

import { Devon } from '@freesewing/devon'

Then you can instantiate it by passing a settings object:

const pattern = new Devon(settings)

Design config

You can access the design configuration without instantiating a design. It is available as the designConfig property of the design constructor:

import { Devon } from '@freesewing/devon'

// Access the design config from the constructor
const dConf = Devon.designConfig

Pattern config

You can access the pattern configuration without instantiating a design. It is available as the patternConfig property of the design constructor:

import { Devon } from '@freesewing/devon'

// Access the pattern config from the constructor
const pConf = Devon.patternConfig

Metadata

You can access the design's metadata through the about named export:

import { about } from '@freesewing/devon'

I18n

You can access the design's internationalization data through the i18n named export:

import { i18n } from '@freesewing/devon'

Parts

back

The part itself

You can access this part as the back named export:

import { back } from '@freesewing/devon'

backPanel

The part itself

You can access this part as the backPanel named export:

import { backPanel } from '@freesewing/devon'

backSide

The part itself

You can access this part as the backSide named export:

import { backSide } from '@freesewing/devon'

backYoke

The part itself

You can access this part as the backYoke named export:

import { backYoke } from '@freesewing/devon'

base

The part itself

You can access this part as the base named export:

import { base } from '@freesewing/devon'

cuff

The part itself

You can access this part as the cuff named export:

import { cuff } from '@freesewing/devon'

frontFacing

The part itself

You can access this part as the frontFacing named export:

import { frontFacing } from '@freesewing/devon'

frontInside

The part itself

You can access this part as the frontInside named export:

import { frontInside } from '@freesewing/devon'

frontPanel

The part itself

You can access this part as the frontPanel named export:

import { frontPanel } from '@freesewing/devon'

frontSidePanel

The part itself

You can access this part as the frontSidePanel named export:

import { frontSidePanel } from '@freesewing/devon'

frontYoke

The part itself

You can access this part as the frontYoke named export:

import { frontYoke } from '@freesewing/devon'

pocket

The part itself

You can access this part as the pocket named export:

import { pocket } from '@freesewing/devon'

pocketflap

The part itself

You can access this part as the pocketflap named export:

import { pocketflap } from '@freesewing/devon'

sleeve

The part itself

You can access this part as the sleeve named export:

import { sleeve } from '@freesewing/devon'

topSleeve

The part itself

You can access this part as the topSleeve named export:

import { topSleeve } from '@freesewing/devon'

underCollar

The part itself

You can access this part as the underCollar named export:

import { underCollar } from '@freesewing/devon'

underSleeve

The part itself

You can access this part as the underSleeve named export:

import { underSleeve } from '@freesewing/devon'

upperCollar

The part itself

You can access this part as the upperCollar named export:

import { upperCollar } from '@freesewing/devon'

waistband

The part itself

You can access this part as the waistband named export:

import { waistband } from '@freesewing/devon'