| Package | Description |
|---|---|
| rst.pdfbox.layout.text |
| Modifier and Type | Method and Description |
|---|---|
static List<TextLine> |
TextSequenceUtil.getLines(TextSequence text)
Dissects the given sequence into
TextLines. |
static List<TextLine> |
TextSequenceUtil.wordWrapToLines(TextSequence text,
float maxWidth)
Convencience function that
word-wraps into TextSequenceUtil.getLines(TextSequence). |
| Modifier and Type | Method and Description |
|---|---|
void |
TextLine.add(TextLine textLine)
Adds all styled texts of the given text line.
|
| Modifier and Type | Method and Description |
|---|---|
static float |
TextSequenceUtil.getMaxWidth(Iterable<TextLine> lines)
Calculates the max width of all text lines.
|
Copyright © 2021. All rights reserved.