Class LigatureLevel


  • public final class LigatureLevel
    extends java.lang.Object
    Enumerated values for InterElementAttribute.ligatureLevel. Each value corresponds to one level of ligation, each level adding more ligatures over the previous one.
    • Field Detail

      • NONE

        public static final LigatureLevel NONE
        no ligation whatsoever
      • MINIMUM

        public static final LigatureLevel MINIMUM
        only the ligatures needed for legible rendering
      • COMMON

        public static final LigatureLevel COMMON
        common ligatures
      • UNCOMMON

        public static final LigatureLevel UNCOMMON
        uncommon ligatures
      • EXOTIC

        public static final LigatureLevel EXOTIC
        exoctic ligatures
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • lessThanOrEqual

        public static boolean lessThanOrEqual​(LigatureLevel l1,
                                              LigatureLevel l2)
        Compare two levels. The ordering is NONE < MINIMUM < COMMON < UNCOMMON < EXOTIC.
      • parse

        public static LigatureLevel parse​(java.lang.String s)