@Environment(value=CLIENT) public class TextRenderingUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TextRenderingUtils.Line |
static class |
TextRenderingUtils.LineSegment |
Constructor and Description |
---|
TextRenderingUtils() |
Modifier and Type | Method and Description |
---|---|
private static List<TextRenderingUtils.Line> |
decompose(String text,
List<TextRenderingUtils.LineSegment> links) |
static List<TextRenderingUtils.Line> |
decompose(String text,
TextRenderingUtils.LineSegment[] links) |
private static List<TextRenderingUtils.Line> |
insertLinks(List<String> lines,
List<TextRenderingUtils.LineSegment> links) |
protected static List<String> |
lineBreak(String text) |
static List<String> |
split(String line,
String delimiter) |
public static List<TextRenderingUtils.Line> decompose(String text, TextRenderingUtils.LineSegment[] links)
private static List<TextRenderingUtils.Line> decompose(String text, List<TextRenderingUtils.LineSegment> links)
private static List<TextRenderingUtils.Line> insertLinks(List<String> lines, List<TextRenderingUtils.LineSegment> links)