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 hyphenatefont
- the font used by this wordfontSize
- the font size used by this wordremainingWidth
- the width available to fit this word inString getHyphenatedWordPost()
getHyphenatedWordPre()
.Copyright © 2020. All rights reserved.