Enum Class OtLayoutBaselineTag

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

@Generated("org.javagi.JavaGI") public enum OtLayoutBaselineTag extends Enum<OtLayoutBaselineTag> implements Enumeration
Baseline tags from Baseline Tags registry.
Since:
2.6.0
  • Enum Constant Details

    • ROMAN

      public static final OtLayoutBaselineTag ROMAN
      The baseline used by alphabetic scripts such as Latin, Cyrillic and Greek. In vertical writing mode, the alphabetic baseline for characters rotated 90 degrees clockwise. (This would not apply to alphabetic characters that remain upright in vertical writing mode, since these characters are not rotated.)
    • HANGING

      public static final OtLayoutBaselineTag HANGING
      The hanging baseline. In horizontal direction, this is the horizontal line from which syllables seem, to hang in Tibetan and other similar scripts. In vertical writing mode, for Tibetan (or some other similar script) characters rotated 90 degrees clockwise.
    • IDEO_FACE_BOTTOM_OR_LEFT

      public static final OtLayoutBaselineTag IDEO_FACE_BOTTOM_OR_LEFT
      Ideographic character face bottom or left edge, if the direction is horizontal or vertical, respectively.
    • IDEO_FACE_TOP_OR_RIGHT

      public static final OtLayoutBaselineTag IDEO_FACE_TOP_OR_RIGHT
      Ideographic character face top or right edge, if the direction is horizontal or vertical, respectively.
    • IDEO_FACE_CENTRAL

      public static final OtLayoutBaselineTag IDEO_FACE_CENTRAL
      The center of the ideographic character face. Since: 4.0.0
    • IDEO_EMBOX_BOTTOM_OR_LEFT

      public static final OtLayoutBaselineTag IDEO_EMBOX_BOTTOM_OR_LEFT
      Ideographic em-box bottom or left edge, if the direction is horizontal or vertical, respectively.
    • IDEO_EMBOX_TOP_OR_RIGHT

      public static final OtLayoutBaselineTag IDEO_EMBOX_TOP_OR_RIGHT
      Ideographic em-box top or right edge baseline,
    • IDEO_EMBOX_CENTRAL

      public static final OtLayoutBaselineTag IDEO_EMBOX_CENTRAL
      The center of the ideographic em-box. Since: 4.0.0 if the direction is horizontal or vertical, respectively.
    • MATH

      public static final OtLayoutBaselineTag MATH
      The baseline about which mathematical characters are centered. In vertical writing mode when mathematical characters rotated 90 degrees clockwise, are centered.
  • Method Details

    • values

      public static OtLayoutBaselineTag[] 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 OtLayoutBaselineTag 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 OtLayoutBaselineTag of(int value)
      Create a new OtLayoutBaselineTag 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 OtLayoutBaselineTag of(MemorySegment address)
      Create a new OtLayoutBaselineTag 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 OtLayoutBaselineTag class.
      Returns:
      the GType