Skip to main content

carlton

note

This design is part of the FreeSewing collection

Named exports

  • Carlton: The design constructor
  • about: Metadata about the design
  • back: The back part of the design
  • backStay: The backStay part of the design
  • belt: The belt part of the design
  • chestPocketBag: The chestPocketBag part of the design
  • chestPocketWelt: The chestPocketWelt part of the design
  • collar: The collar part of the design
  • collarStand: The collarStand part of the design
  • cuffFacing: The cuffFacing part of the design
  • front: The front part of the design
  • frontFacing: The frontFacing part of the design
  • frontLining: The frontLining part of the design
  • i18n: Internationalisation (i18n/translation) data for the design
  • innerPocketBag: The innerPocketBag part of the design
  • innerPocketTab: The innerPocketTab part of the design
  • innerPocketWelt: The innerPocketWelt part of the design
  • pocket: The pocket part of the design
  • pocketFlap: The pocketFlap part of the design
  • pocketLining: The pocketLining part of the design
  • tail: The tail part of the design
  • topsleeve: The topsleeve part of the design
  • undersleeve: The undersleeve part of the design

Constructor

To create a new carlton Design, import the constructur as such:

import { Carlton } from '@freesewing/carlton'

Then you can instantiate it by passing a settings object:

const pattern = new Carlton(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 { Carlton } from '@freesewing/carlton'

// Access the design config from the constructor
const dConf = Carlton.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 { Carlton } from '@freesewing/carlton'

// Access the pattern config from the constructor
const pConf = Carlton.patternConfig

Metadata

You can access the design's metadata through the about named export:

import { about } from '@freesewing/carlton'

I18n

You can access the design's internationalization data through the i18n named export:

import { i18n } from '@freesewing/carlton'

Parts

back

The part itself

You can access this part as the back named export:

import { back } from '@freesewing/carlton'

backStay

The part itself

You can access this part as the backStay named export:

import { backStay } from '@freesewing/carlton'

belt

The part itself

You can access this part as the belt named export:

import { belt } from '@freesewing/carlton'

chestPocketBag

The part itself

You can access this part as the chestPocketBag named export:

import { chestPocketBag } from '@freesewing/carlton'

chestPocketWelt

The part itself

You can access this part as the chestPocketWelt named export:

import { chestPocketWelt } from '@freesewing/carlton'

collar

The part itself

You can access this part as the collar named export:

import { collar } from '@freesewing/carlton'

collarStand

The part itself

You can access this part as the collarStand named export:

import { collarStand } from '@freesewing/carlton'

cuffFacing

The part itself

You can access this part as the cuffFacing named export:

import { cuffFacing } from '@freesewing/carlton'

front

The part itself

You can access this part as the front named export:

import { front } from '@freesewing/carlton'

frontFacing

The part itself

You can access this part as the frontFacing named export:

import { frontFacing } from '@freesewing/carlton'

frontLining

The part itself

You can access this part as the frontLining named export:

import { frontLining } from '@freesewing/carlton'

innerPocketBag

The part itself

You can access this part as the innerPocketBag named export:

import { innerPocketBag } from '@freesewing/carlton'

innerPocketTab

The part itself

You can access this part as the innerPocketTab named export:

import { innerPocketTab } from '@freesewing/carlton'

innerPocketWelt

The part itself

You can access this part as the innerPocketWelt named export:

import { innerPocketWelt } from '@freesewing/carlton'

pocket

The part itself

You can access this part as the pocket named export:

import { pocket } from '@freesewing/carlton'

pocketFlap

The part itself

You can access this part as the pocketFlap named export:

import { pocketFlap } from '@freesewing/carlton'

pocketLining

The part itself

You can access this part as the pocketLining named export:

import { pocketLining } from '@freesewing/carlton'

tail

The part itself

You can access this part as the tail named export:

import { tail } from '@freesewing/carlton'

topsleeve

The part itself

You can access this part as the topsleeve named export:

import { topsleeve } from '@freesewing/carlton'

undersleeve

The part itself

You can access this part as the undersleeve named export:

import { undersleeve } from '@freesewing/carlton'