Class FontTextLayoutAssessor

  • All Implemented Interfaces:
    TextLayoutAssessor

    public class FontTextLayoutAssessor
    extends java.lang.Object
    implements TextLayoutAssessor
    Complex text layout check that uses Java 9 Font.
    Author:
    Lucian Chirita (lucianc@users.sourceforge.net)
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean available()  
      boolean hasComplexLayout​(char[] chars)
      Determines if a text chunk requires complex text layout.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FontTextLayoutAssessor

        public FontTextLayoutAssessor()
    • Method Detail

      • available

        public boolean available()
      • hasComplexLayout

        public boolean hasComplexLayout​(char[] chars)
        Description copied from interface: TextLayoutAssessor
        Determines if a text chunk requires complex text layout.
        Specified by:
        hasComplexLayout in interface TextLayoutAssessor
        Parameters:
        chars - the text chunk
        Returns:
        whether the text requires complex text layout