Enumerations | |
enum | TextAlignment { taNone, taLeft, taCenter, taRight } |
Values that represent TextAlignment. See AlignText. More... | |
Functions | |
String | AlignLeft (PCChar8 text, Int32 resultLength, Char8 fillChar= ' ') |
Align characters on the left. More... | |
String | AlignCenter (PCChar8 text, Int32 resultLength, Char8 fillChar= ' ') |
Align characters on center. More... | |
String | AlignRight (PCChar8 text, Int32 resultLength, Char8 fillChar= ' ') |
Align characters on the right. More... | |
String | AlignText (PCChar8 text, Int32 ResultLength, TextAlignment textAlignment, Char8 FillChar= ' ') |
Align text. More... | |
enum TextAlignment |
Align characters on center.
text | The text to align. |
resultLength | Length of the String. |
fillChar | (optional) the fill character. |
Align characters on the left.
text | The text to align. |
resultLength | Length of the String. |
fillChar | (optional) the fill character. |
Align characters on the right.
text | The text to align. |
resultLength | Length of the result. |
fillChar | (optional) the fill character. |
String AlignText | ( | PCChar8 | text, |
Int32 | ResultLength, | ||
TextAlignment | textAlignment, | ||
Char8 | FillChar = ' ' |
||
) |
Align text.
text | The text to align. |
ResultLength | Length of the result. |
textAlignment | The text alignment mode. See TextAlignment. |
FillChar | (optional) the fill character. |