Enum GlyfTable.GlyfFlags

java.lang.Object
java.lang.Enum<GlyfTable.GlyfFlags>
org.apache.fop.fonts.truetype.GlyfTable.GlyfFlags
All Implemented Interfaces:
Serializable, Comparable<GlyfTable.GlyfFlags>, java.lang.constant.Constable
Enclosing class:
GlyfTable

public static enum GlyfTable.GlyfFlags extends Enum<GlyfTable.GlyfFlags>
  • Enum Constant Details

  • Method Details

    • values

      public static GlyfTable.GlyfFlags[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static GlyfTable.GlyfFlags valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getOffsetToNextComposedGlyf

      public static int getOffsetToNextComposedGlyf(int flags)
      Calculates, from the given flags, the offset to the next glyph index.
      Parameters:
      flags - the glyph data flags
      Returns:
      offset to the next glyph if any, or 0
    • hasMoreComposites

      public static boolean hasMoreComposites(int flags)
      Checks the given flags to see if there is another composed glyph.
      Parameters:
      flags - the glyph data flags
      Returns:
      true if there is another composed glyph, otherwise false.