Package drawing.letters.alphabet
Class T
java.lang.Object
drawing.letters.alphabet.T
- All Implemented Interfaces:
Letter
This is the object "T" which implements the Letter class.
- Since:
- 2023
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
draw()
Draw method which takes in an integer to call the offset method.void
draw
(int offset) Draw method which takes in an integer to call the offset method.char
getChar()
This returns the character.void
offset
(int offset) Offset method which takes in an integer and is required in drawing the letter at the correct Horizontal axis.
-
Constructor Details
-
T
public T()The constructor assigns the letter "T" to character.
-
-
Method Details
-
draw
public void draw()Draw method which takes in an integer to call the offset method. -
draw
public void draw(int offset) Draw method which takes in an integer to call the offset method. -
offset
public void offset(int offset) Offset method which takes in an integer and is required in drawing the letter at the correct Horizontal axis. -
getChar
public char getChar()This returns the character.
-