Class LigatureLevel
- java.lang.Object
-
- com.adobe.fontengine.inlineformatting.LigatureLevel
-
public final class LigatureLevel extends java.lang.ObjectEnumerated values forInterElementAttribute.ligatureLevel. Each value corresponds to one level of ligation, each level adding more ligatures over the previous one.
-
-
Field Summary
Fields Modifier and Type Field Description static LigatureLevelCOMMONcommon ligaturesstatic LigatureLevelEXOTICexoctic ligaturesstatic LigatureLevelMINIMUMonly the ligatures needed for legible renderingstatic LigatureLevelNONEno ligation whatsoeverstatic LigatureLevelUNCOMMONuncommon ligatures
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleanlessThanOrEqual(LigatureLevel l1, LigatureLevel l2)Compare two levels.static LigatureLevelparse(java.lang.String s)java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
lessThanOrEqual
public static boolean lessThanOrEqual(LigatureLevel l1, LigatureLevel l2)
Compare two levels. The ordering isNONE<MINIMUM<COMMON<UNCOMMON<EXOTIC.
-
parse
public static LigatureLevel parse(java.lang.String s)
-
-