Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

a

a: boolean = false

b

b: boolean = false

c

c: boolean = false

d

d: boolean = false

e

e: boolean = false

f

f: boolean = false

g

g: boolean = false

Methods

drawBigSegment

  • drawBigSegment(): string[]

drawSegment

  • drawSegment(): string[]

returnBigStringArray

  • returnBigStringArray(top: string[], middle: string[], middle2: string[], bottom: string[], bottom2: string[]): string[]
  • Parameters

    • top: string[]

      The top segment of the 7-segment display

    • middle: string[]

      The first middle segment of the 7-segment display

    • middle2: string[]

      The second middlesegment of the 7-segment display

    • bottom: string[]

      The first bottom segment of the 7-segment display

    • bottom2: string[]

      The second bottom segment of the 7-segment display

      The function helps us return the segment as a string array. This also helps to make the code more clear.

    Returns string[]

returnStringArray

  • returnStringArray(top: string[], middle: string[], bottom: string[]): string[]
  • Parameters

    • top: string[]

      Is the top segment of the array.

    • middle: string[]

      Is the middle segment of the array.

    • bottom: string[]

      Is the bottom segment of the array.

    Returns string[]

Generated using TypeDoc