Enum Class OtLayoutGlyphClass

java.lang.Object
java.lang.Enum<OtLayoutGlyphClass>
org.freedesktop.harfbuzz.OtLayoutGlyphClass
All Implemented Interfaces:
Serializable, Comparable<OtLayoutGlyphClass>, Constable, Enumeration

@Generated("org.javagi.JavaGI") public enum OtLayoutGlyphClass extends Enum<OtLayoutGlyphClass> implements Enumeration
The GDEF classes defined for glyphs.
  • Enum Constant Details

    • UNCLASSIFIED

      public static final OtLayoutGlyphClass UNCLASSIFIED
      Glyphs not matching the other classifications
    • BASE_GLYPH

      public static final OtLayoutGlyphClass BASE_GLYPH
      Spacing, single characters, capable of accepting marks
    • LIGATURE

      public static final OtLayoutGlyphClass LIGATURE
      Glyphs that represent ligation of multiple characters
    • MARK

      public static final OtLayoutGlyphClass MARK
      Non-spacing, combining glyphs that represent marks
    • COMPONENT

      public static final OtLayoutGlyphClass COMPONENT
      Spacing glyphs that represent part of a single character
  • Method Details

    • values

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

      public static OtLayoutGlyphClass valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • of

      public static OtLayoutGlyphClass of(int value)
      Create a new OtLayoutGlyphClass for the provided value
      Parameters:
      value - the enum value
      Returns:
      the enum for the provided value
    • getValue

      public int getValue()
      Get the numeric value of this enum
      Specified by:
      getValue in interface Enumeration
      Returns:
      the enum value
    • of

      public static OtLayoutGlyphClass of(MemorySegment address)
      Create a new OtLayoutGlyphClass for the value in the provided memory address.
      Parameters:
      address - the memory address holding a enum value
      Returns:
      the enum for the value in the provided memory address
    • getType

      public static @Nullable Type getType()
      Get the GType of the OtLayoutGlyphClass class.
      Returns:
      the GType