plugintest
Named exports
Plugintest: The design constructorabout: Metadata about the designannotations: The annotations part of the designflip: The flip part of the designgore: The gore part of the designi18n: Internationalisation (i18n/translation) data for the designi18nStack: The i18nStack part of the designmeasurements: The measurements part of the designmirror: The mirror part of the designringsector: The ringsector part of the designround: The round part of the designsprinkle: The sprinkle part of the design
Constructor
To create a new plugintest Design, import the constructur as such:
import { Plugintest } from '@freesewing/plugintest'
Then you can instantiate it by passing a settings object:
const pattern = new Plugintest(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 { Plugintest } from '@freesewing/plugintest'
// Access the design config from the constructor
const dConf = Plugintest.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 { Plugintest } from '@freesewing/plugintest'
// Access the pattern config from the constructor
const pConf = Plugintest.patternConfig
Metadata
You can access the design's metadata through the about named export:
import { about } from '@freesewing/plugintest'
I18n
You can access the design's internationalization data through the i18n named export:
import { i18n } from '@freesewing/plugintest'
Parts
annotations
The part itself
You can access this part as the annotations named export:
import { annotations } from '@freesewing/plugintest'
flip
The part itself
You can access this part as the flip named export:
import { flip } from '@freesewing/plugintest'
gore
The part itself
You can access this part as the gore named export:
import { gore } from '@freesewing/plugintest'
i18nStack
The part itself
You can access this part as the i18nStack named export:
import { i18nStack } from '@freesewing/plugintest'
measurements
The part itself
You can access this part as the measurements named export:
import { measurements } from '@freesewing/plugintest'
mirror
The part itself
You can access this part as the mirror named export:
import { mirror } from '@freesewing/plugintest'
ringsector
The part itself
You can access this part as the ringsector named export:
import { ringsector } from '@freesewing/plugintest'
round
The part itself
You can access this part as the round named export:
import { round } from '@freesewing/plugintest'
sprinkle
The part itself
You can access this part as the sprinkle named export:
import { sprinkle } from '@freesewing/plugintest'