public interface HyphenationEvent
Chunk
to hyphenate a word.
Modifier and Type | Method and Description |
---|---|
String |
getHyphenatedWordPost()
Gets the second part of the hyphenated word.
|
String |
getHyphenatedWordPre(String word, BaseFont font, float fontSize, float remainingWidth)
Hyphenates a word and returns the first part of it.
|
String |
getHyphenSymbol()
Gets the hyphen symbol.
|
String getHyphenSymbol()
String getHyphenatedWordPre(String word, BaseFont font, float fontSize, float remainingWidth)
getHyphenatedWordPost()
.
word
- the word to hyphenate
font
- the font used by this word
fontSize
- the font size used by this word
remainingWidth
- the width available to fit this word in
String getHyphenatedWordPost()
getHyphenatedWordPre()
.
Copyright © 1998–2022. All rights reserved.