Class Hyphenation
java.lang.Object
com.itextpdf.text.pdf.hyphenation.Hyphenation
This class represents a hyphenated word.
- Author:
- Carlos Villegas invalid input: '<'cav@uniscope.co.jp>
-
Constructor Summary
ConstructorsConstructorDescriptionHyphenation(String word, int[] points) rawWord as made of alternating strings andHypheninstances -
Method Summary
Modifier and TypeMethodDescriptionint[]getPostHyphenText(int index) getPreHyphenText(int index) intlength()toString()
-
Constructor Details
-
Hyphenation
-
-
Method Details
-
length
public int length()- Returns:
- the number of hyphenation points in the word
-
getPreHyphenText
- Returns:
- the pre-break text, not including the hyphen character
-
getPostHyphenText
- Returns:
- the post-break text
-
getHyphenationPoints
public int[] getHyphenationPoints()- Returns:
- the hyphenation points
-
toString
-