public class KeepAllSplitCharacters extends Object implements ISplitCharacters
ISplitCharacters
that prevents breaking within words.
Constructor and Description |
---|
KeepAllSplitCharacters() |
Modifier and Type | Method and Description |
---|---|
boolean |
isSplitCharacter(GlyphLine text, int glyphPos)
The splitting implementation is free to look ahead or look behind characters to make a decision.
|
public boolean isSplitCharacter(GlyphLine text, int glyphPos)
ISplitCharacters
isSplitCharacter
in interface ISplitCharacters
text
- an array of unicode char codes which represent current text
glyphPos
- the position of Glyph
in the GlyphLine
Copyright © 1998–2021 iText Group NV. All rights reserved.