Interface ISplitCharacters

All Known Implementing Classes:
BreakAllSplitCharacters, DefaultSplitCharacters, KeepAllSplitCharacters

public interface ISplitCharacters
Interface for customizing the split character.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isSplitCharacter(GlyphLine text, int glyphPos)
    The splitting implementation is free to look ahead or look behind characters to make a decision.
  • Method Details

    • isSplitCharacter

      boolean isSplitCharacter (GlyphLine text, int glyphPos)
      The splitting implementation is free to look ahead or look behind characters to make a decision.
      Parameters:
      glyphPos - the position of Glyph in the GlyphLine
      text - an array of unicode char codes which represent current text
      Returns:
      true if the character can split a line.