public class TextElement extends Element
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
minWidth
.
|
(package private) Iterable<Chunk> |
stream
.
|
(package private) int |
width
.
|
| Constructor and Description |
|---|
TextElement(Iterable<Chunk> stream) |
TextElement(Iterable<Chunk> stream,
int minWidth) |
| Modifier and Type | Method and Description |
|---|---|
LineRenderer |
renderer() |
TextElement |
style(Style.Composite style) |
String |
toString() |
private static int |
width(int width,
Iterator<Chunk> stream,
Text current,
Integer from) |
public TextElement(Iterable<Chunk> stream, int minWidth)
public TextElement(Iterable<Chunk> stream)
public LineRenderer renderer()
public TextElement style(Style.Composite style)
Copyright © 2014 eXo Platform SAS. All Rights Reserved.