Drawsegment that returns a string[] with the number.
The Drawsegment method is the method which takes care of printing the digit
The top segment of the 7-segment display
The first middle segment of the 7-segment display
The second middlesegment of the 7-segment display
The first bottom segment of the 7-segment display
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 a string[]
Is the top segment of the array.
Is the middle segment of the array.
Is the bottom segment of the array.
Generated using TypeDoc
Draws the BigDegrees when its called.
const degreesSign = new DrawBigDegrees(); const outputDegreesSign = degreesSign.returnOutput();