devon
This design is part of the FreeSewing collection
Named exports
Devon: The design constructorabout: Metadata about the designback: The back part of the designbackPanel: The backPanel part of the designbackSide: The backSide part of the designbackYoke: The backYoke part of the designbase: The base part of the designcuff: The cuff part of the designfrontFacing: The frontFacing part of the designfrontInside: The frontInside part of the designfrontPanel: The frontPanel part of the designfrontSidePanel: The frontSidePanel part of the designfrontYoke: The frontYoke part of the designi18n: Internationalisation (i18n/translation) data for the designpocket: The pocket part of the designpocketflap: The pocketflap part of the designsleeve: The sleeve part of the designtopSleeve: The topSleeve part of the designunderCollar: The underCollar part of the designunderSleeve: The underSleeve part of the designupperCollar: The upperCollar part of the designwaistband: 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'