Model class representing a pattern's various properties.

Hierarchy

  • Properties

Constructors

  • Parameters

    • colors: Color[]

      The list of colors that are used in the pattern.

    • patternTotals: PatternTotals

      The PatternTotals containing stitch counts by type and color

    • stitchWidth: number

      The width, in stitches, of the pattern.

    • stitchHeight: number

      The height, in stitches, of the pattern.

    • Optional notes: string

      Any notes or comments about the pattern.

    Returns Properties

Properties

colors: Color[]

The list of colors that are used in the pattern.

notes?: string

Any notes or comments about the pattern.

patternTotals: PatternTotals

The PatternTotals containing stitch counts by type and color

stitchHeight: number

The height, in stitches, of the pattern.

stitchWidth: number

The width, in stitches, of the pattern.

Generated using TypeDoc