Class KeepAllSplitCharacters

    • Constructor Detail

      • KeepAllSplitCharacters

        public KeepAllSplitCharacters()
    • Method Detail

      • isSplitCharacter

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

        private static boolean isADigitChar​(GlyphLine text,
                                            int glyphPos)