Text alignment: center, right, left. For this, it is necessary to first calculate the widths of each line of text, and then move the characters in the line to the appropriate position.
Text alignment: center, right, left.
For this, it is necessary to first calculate the widths of each line of text, and then move the characters in the line to the appropriate position.