iText 9.7.0 API
iText.Layout.Splitting.BreakAllSplitCharacters Class Reference

The implementation of ISplitCharacters that allows breaking within words. More...

Inheritance diagram for iText.Layout.Splitting.BreakAllSplitCharacters:
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 implementation of ISplitCharacters that allows breaking within words.

Member Function Documentation

◆ IsSplitCharacter()

virtual bool iText.Layout.Splitting.BreakAllSplitCharacters.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 line can be split after the character

Implements iText.Layout.Splitting.ISplitCharacters.