public interface Aligner
| Modifier and Type | Method and Description | 
|---|---|
| String[] | align(String[] text,
     int cellWidth,
     int cellHeight)Perform text alignment, returning a String array that MUST contain  cellHeightlines, each of which MUST becellWidthchars in length. | 
String[] align(String[] text, int cellWidth, int cellHeight)
cellHeight
 lines, each of which MUST be cellWidth chars in length.
 
 Input array is guaranteed to contain lines that have length equal to cellWidth.
 There is no guarantee on the input number of lines though.
 
text - the text to aligncellWidth - the width of of the table cellcellHeight - the height of the table cellcellHeight element arrayCopyright © 2022. All rights reserved.