| Package | Description |
|---|---|
| rst.pdfbox.layout.util |
| Modifier and Type | Method and Description |
|---|---|
Pair<String> |
WordBreaker.breakWord(String word,
FontDescriptor fontDescriptor,
float maxWidth,
boolean breakHardIfNecessary)
Breaks the word in order to fit the given maximum width.
|
Pair<String> |
WordBreakers.NonBreakingWordBreaker.breakWord(String word,
FontDescriptor fontDescriptor,
float maxWidth,
boolean breakHardIfNecessary) |
Pair<String> |
WordBreakers.AbstractWordBreaker.breakWord(String word,
FontDescriptor fontDescriptor,
float maxWidth,
boolean breakHardIfNecessary) |
protected Pair<String> |
WordBreakers.AbstractWordBreaker.breakWordHard(String word,
FontDescriptor fontDescriptor,
float maxWidth)
Breaks the word hard at the outermost position that fits the given
max width.
|
protected abstract Pair<String> |
WordBreakers.AbstractWordBreaker.breakWordSoft(String word,
FontDescriptor fontDescriptor,
float maxWidth)
To be implemented by subclasses.
|
protected Pair<String> |
WordBreakers.DefaultWordBreaker.breakWordSoft(String word,
FontDescriptor fontDescriptor,
float maxWidth) |
Copyright © 2022. All rights reserved.