cornelius
This design is part of the FreeSewing collection
Named exports
Cornelius: The design constructorabout: Metadata about the designback: The back part of the designfront: The front part of the designfrontpoints: The frontpoints part of the designi18n: Internationalisation (i18n/translation) data for the designlegband: The legband part of the designlegbandKeystone: The legbandKeystone part of the designpocket: The pocket part of the designpocketFacing: The pocketFacing part of the designwaistband: The waistband part of the designzipperguard: The zipperguard part of the design
Constructor
To create a new cornelius Design, import the constructur as such:
import { Cornelius } from '@freesewing/cornelius'
Then you can instantiate it by passing a settings object:
const pattern = new Cornelius(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 { Cornelius } from '@freesewing/cornelius'
// Access the design config from the constructor
const dConf = Cornelius.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 { Cornelius } from '@freesewing/cornelius'
// Access the pattern config from the constructor
const pConf = Cornelius.patternConfig
Metadata
You can access the design's metadata through the about named export:
import { about } from '@freesewing/cornelius'
I18n
You can access the design's internationalization data through the i18n named export:
import { i18n } from '@freesewing/cornelius'
Parts
back
The part itself
You can access this part as the back named export:
import { back } from '@freesewing/cornelius'
front
The part itself
You can access this part as the front named export:
import { front } from '@freesewing/cornelius'
frontpoints
The part itself
You can access this part as the frontpoints named export:
import { frontpoints } from '@freesewing/cornelius'
legband
The part itself
You can access this part as the legband named export:
import { legband } from '@freesewing/cornelius'
legbandKeystone
The part itself
You can access this part as the legbandKeystone named export:
import { legbandKeystone } from '@freesewing/cornelius'
pocket
The part itself
You can access this part as the pocket named export:
import { pocket } from '@freesewing/cornelius'
pocketFacing
The part itself
You can access this part as the pocketFacing named export:
import { pocketFacing } from '@freesewing/cornelius'
waistband
The part itself
You can access this part as the waistband named export:
import { waistband } from '@freesewing/cornelius'
zipperguard
The part itself
You can access this part as the zipperguard named export:
import { zipperguard } from '@freesewing/cornelius'