iText 8.0.5 API
iText.Layout.Splitting.DefaultSplitCharacters Class Reference

The default implementation of ISplitCharacters interface. More...

Inheritance diagram for iText.Layout.Splitting.DefaultSplitCharacters:
iText.Layout.Splitting.ISplitCharacters

Public Member Functions

virtual bool  IsSplitCharacter (GlyphLine text, int glyphPos)
  The splitting implementation is free to look ahead or look behind characters to make a decision. More...
 

Detailed Description

The default implementation of ISplitCharacters interface.

Member Function Documentation

◆ IsSplitCharacter()

virtual bool iText.Layout.Splitting.DefaultSplitCharacters.IsSplitCharacter ( GlyphLine  text,
int  glyphPos 
)
inlinevirtual

The splitting implementation is free to look ahead or look behind characters to make a decision.

Parameters
glyphPos the position of iText.IO.Font.Otf.Glyph in the iText.IO.Font.Otf.GlyphLine
text an array of unicode char codes which represent current text
Returns
true if the character can split a line.

Implements iText.Layout.Splitting.ISplitCharacters.