jane
This design is part of the FreeSewing collection
Named exports
Jane: The design constructorabout: Metadata about the designbody: The body part of the designgusset: The gusset part of the designi18n: Internationalisation (i18n/translation) data for the designsleeve: The sleeve part of the design
Constructor
To create a new jane Design, import the constructur as such:
import { Jane } from '@freesewing/jane'
Then you can instantiate it by passing a settings object:
const pattern = new Jane(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 { Jane } from '@freesewing/jane'
// Access the design config from the constructor
const dConf = Jane.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 { Jane } from '@freesewing/jane'
// Access the pattern config from the constructor
const pConf = Jane.patternConfig
Metadata
You can access the design's metadata through the about named export:
import { about } from '@freesewing/jane'
I18n
You can access the design's internationalization data through the i18n named export:
import { i18n } from '@freesewing/jane'
Parts
body
The part itself
You can access this part as the body named export:
import { body } from '@freesewing/jane'
gusset
The part itself
You can access this part as the gusset named export:
import { gusset } from '@freesewing/jane'
sleeve
The part itself
You can access this part as the sleeve named export:
import { sleeve } from '@freesewing/jane'