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