Create an instance of printDigits You don't have to fill in the arguments
the default values of : framework = false largeDigits = false
digitsHeight attribute
digitsHeight attribute
Framework
this method returns the _framework value
This is inserted to meet Single Responsibility/managing dependencies
boolean
get digit height
this method returns the digit height
digit height number
large Digits
this method returns the _largeDigits value
This is inserted to meet Single Responsibility/managing dependencies
boolean
disable Framework
this method disable framework ( false)
true = see framework false = hide framework
disable Large Digits
this method disable large Digits ( false)
true = large digits false = normal digits
enable Framework
this method enables framework ( true)
true = see framework false = hide framework
enable Large Digits
this method enable large Digits ( true)
true = large digits false = normal digits
framework bottom
returns the bottom side for the framework
string contains framework bottom side
framework left
returns the left side for the framework
string contains framework left side
framework right
returns the right side for the framework
string contains framework right side
framework top
returns the top side for the framework
string contains framework top
get framework
this method returns the framework value
true = see framework false = hide framework
boolean
get large Digits
this method returns the largeDigits value
true = large digits false = normal digits
boolean
initializes the digits height
this method intitializes the digitHeight
digitheight for normal sized digits : 3
digitheight for large sized digits : 7
Initializer
Initializes the instance of the printDigit with framework and largeDigit.
void
is Digit Space
checks if the given digit is only space
layer four and five large
returns layer four and five from a digit based on the given digit values
This for large sized digits
values : e, c
string contains a digit layer
layer one
returns layer one from a digit based on the given digit values
This for normal sized digits
values : f, g, b
string contains a digit layer
layer one and two large
returns layer one and two from a digit based on the given digit values
This for large sized digits
values : f, b
string contains a digit layer
layer six large
returns layer six from a digit based on the given digit values
This for large sized digits
value : d, comma
string contains a digit layer
layer three large
returns layer three from a digit based on the given digit values
This for large sized digits
value : g
string contains a digit layer
layer two
returns layer two from a digit based on the given digit values
This for normal sized digits
values : e, d, c, comma
string contains a digit layer
layer zero
returns layer zero from a digit based on the given digit values
This for normal sized digits
value : a
string contains a digit layer
layer zero large
returns the zero layer from a digit based on the given digit values
This for large sized digits
value : a
string contains a digit layer
printDigits method
this method prints the given digitsArray as a digit styled string in the console.
This class uses the toString method from this class
printStringAsDigits
this method prints the given string as a digit styled string in the console
This class uses the toDigitString method
set digit height
this method sets the digits height
set Framework
this method sets the value of the framework
true = see framework false = hide framework
set Large Digits
this method sets the value of the large digits
true = large digits false = normal digits
toDigitString
This method returns the digit string from a given string.
string contains digit styled numbers
toString
this Method returns the digit string from a given digitsArray
string contains digit styled numbers
toStringLayer
this method needs a digit and a layer number to return a string per digit per layer
string contains a digit layer
Generated using TypeDoc
PrintDigits class
This class contains all methods to convert digits to strings and prints them out.