public class DefaultSplitCharacters extends Object implements ISplitCharacters
ISplitCharacters
interface.Constructor and Description |
---|
DefaultSplitCharacters() |
Modifier and Type | Method and Description |
---|---|
boolean |
isSplitCharacter(com.itextpdf.io.font.otf.GlyphLine text,
int glyphPos)
Returns
true if the character can split a line. |
public boolean isSplitCharacter(com.itextpdf.io.font.otf.GlyphLine text, int glyphPos)
ISplitCharacters
true
if the character can split a line. The splitting implementation
is free to look ahead or look behind characters to make a decision.isSplitCharacter
in interface ISplitCharacters
text
- an array of unicode char codes which represent current textglyphPos
- the position of Glyph
in the GlyphLine
Copyright © 1998–2017 iText Group NV. All rights reserved.