public static interface DisplayLine.WidthProvider
| Modifier and Type | Method and Description |
|---|---|
int |
getWidthFor(DisplayLineSpecs specs,
int lineIndex,
int startingCharacterIndex,
DisplayLine splitSoFar)
This should return the display width for the specified line index.
|
int getWidthFor(DisplayLineSpecs specs, int lineIndex, int startingCharacterIndex, DisplayLine splitSoFar)
specs - The DisplayLineSpecs that is doing the splitting.lineIndex - The index of the line being created (starting from 0).startingCharacterIndex - The index of the character that will come first on this line.splitSoFar - The linked list of DisplayLines that have been split so far.