Options
All
  • Public
  • Public/Protected
  • All
Menu

This class wraps the digits with a framework.

Hierarchy

  • TextWrapper

Index

Constructors

Properties

Accessors

Constructors

constructor

  • new TextWrapper(digits: string[], size: number): TextWrapper
  • This constructor gets the size and the array with the digits from the other class.

    Parameters

    • digits: string[]

      this puts the array with digits in this.digits.

    • size: number

      this puts the size 0 or 1 into this.size.

    Returns TextWrapper

Properties

Private digits

digits: string[]

Private size

size: number

Accessors

wrapper

  • get wrapper(): string[]
  • This method puts an framework around the digits.

    Returns string[]

    this methods returns an array with the framework an the digits.

Generated using TypeDoc