Constructors
constructor
- new PrintLCD(segmentA: Array<string>, segmentB: Array<string>, segmentC: Array<string>, segmentD: Array<string>, segmentE: Array<string>, segmentF: Array<string>, segmentG: Array<string>): PrintLCD
-
Parameters
-
segmentA: Array<string>
-
segmentB: Array<string>
-
segmentC: Array<string>
-
segmentD: Array<string>
-
segmentE: Array<string>
-
segmentF: Array<string>
-
segmentG: Array<string>
Properties
segmentA
segmentA: string[]
segmentB
segmentB: string[]
segmentC
segmentC: string[]
segmentD
segmentD: string[]
segmentE
segmentE: string[]
segmentF
segmentF: string[]
segmentG
segmentG: string[]
Methods
Private doubleSize
- doubleSize(numberSize: number): void
Private normalSize
- normalSize(numberSize: number): void
printSegment
- printSegment(numberSize: number, border: boolean, doubleSize: boolean): void
-
Parameters
-
numberSize: number
-
border: boolean
-
doubleSize: boolean
Returns void
A class that accepts the number size and settings, prints the segment in the correct form