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