Package com.itextpdf.layout.hyphenation
Class Hyphenation
java.lang.Object
com.itextpdf.layout.hyphenation.Hyphenation
This class represents a hyphenated word.
This work was authored by Carlos Villegas (cav@uniscope.co.jp).
-
Method Summary
Modifier and TypeMethodDescriptionint[]
getPostHyphenText
(int index) getPreHyphenText
(int index) int
length()
toString()
-
Method Details
-
length
public int length()- Returns:
- the number of hyphenation points in the word
-
getPreHyphenText
- Parameters:
-
index
- an index position - Returns:
- the pre-break text, not including the hyphen character
-
getPostHyphenText
- Parameters:
-
index
- an index position - Returns:
- the post-break text
-
getHyphenationPoints
public int[] getHyphenationPoints()- Returns:
- the hyphenation points
-
toString
-