Options
All
  • Public
  • Public/Protected
  • All
Menu

A Class created to output a small Celsius sign in a 7-segment display

Easy to use:

import DrawCelsius from './DrawCelsius'

const celsiusSign = new DrawCelsius();
const outputCelsiusSign = celsiusSign.returnOutput();

Hierarchy

Index

Constructors

Properties

Methods

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

output

output: string[] = []

Methods

drawSegment

  • drawSegment(): string[]

returnOutput

  • returnOutput(): 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