Enum Class OtMetricsTag

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

@Generated("org.javagi.JavaGI") public enum OtMetricsTag extends Enum<OtMetricsTag> implements Enumeration
Metric tags corresponding to MVAR Value Tags
Since:
2.6.0
  • Enum Constant Details

    • HORIZONTAL_ASCENDER

      public static final OtMetricsTag HORIZONTAL_ASCENDER
      horizontal ascender.
    • HORIZONTAL_DESCENDER

      public static final OtMetricsTag HORIZONTAL_DESCENDER
      horizontal descender.
    • HORIZONTAL_LINE_GAP

      public static final OtMetricsTag HORIZONTAL_LINE_GAP
      horizontal line gap.
    • HORIZONTAL_CLIPPING_ASCENT

      public static final OtMetricsTag HORIZONTAL_CLIPPING_ASCENT
      horizontal clipping ascent.
    • HORIZONTAL_CLIPPING_DESCENT

      public static final OtMetricsTag HORIZONTAL_CLIPPING_DESCENT
      horizontal clipping descent.
    • VERTICAL_ASCENDER

      public static final OtMetricsTag VERTICAL_ASCENDER
      vertical ascender.
    • VERTICAL_DESCENDER

      public static final OtMetricsTag VERTICAL_DESCENDER
      vertical descender.
    • VERTICAL_LINE_GAP

      public static final OtMetricsTag VERTICAL_LINE_GAP
      vertical line gap.
    • HORIZONTAL_CARET_RISE

      public static final OtMetricsTag HORIZONTAL_CARET_RISE
      horizontal caret rise.
    • HORIZONTAL_CARET_RUN

      public static final OtMetricsTag HORIZONTAL_CARET_RUN
      horizontal caret run.
    • HORIZONTAL_CARET_OFFSET

      public static final OtMetricsTag HORIZONTAL_CARET_OFFSET
      horizontal caret offset.
    • VERTICAL_CARET_RISE

      public static final OtMetricsTag VERTICAL_CARET_RISE
      vertical caret rise.
    • VERTICAL_CARET_RUN

      public static final OtMetricsTag VERTICAL_CARET_RUN
      vertical caret run.
    • VERTICAL_CARET_OFFSET

      public static final OtMetricsTag VERTICAL_CARET_OFFSET
      vertical caret offset.
    • X_HEIGHT

      public static final OtMetricsTag X_HEIGHT
      x height.
    • CAP_HEIGHT

      public static final OtMetricsTag CAP_HEIGHT
      cap height.
    • SUBSCRIPT_EM_X_SIZE

      public static final OtMetricsTag SUBSCRIPT_EM_X_SIZE
      subscript em x size.
    • SUBSCRIPT_EM_Y_SIZE

      public static final OtMetricsTag SUBSCRIPT_EM_Y_SIZE
      subscript em y size.
    • SUBSCRIPT_EM_X_OFFSET

      public static final OtMetricsTag SUBSCRIPT_EM_X_OFFSET
      subscript em x offset.
    • SUBSCRIPT_EM_Y_OFFSET

      public static final OtMetricsTag SUBSCRIPT_EM_Y_OFFSET
      subscript em y offset.
    • SUPERSCRIPT_EM_X_SIZE

      public static final OtMetricsTag SUPERSCRIPT_EM_X_SIZE
      superscript em x size.
    • SUPERSCRIPT_EM_Y_SIZE

      public static final OtMetricsTag SUPERSCRIPT_EM_Y_SIZE
      superscript em y size.
    • SUPERSCRIPT_EM_X_OFFSET

      public static final OtMetricsTag SUPERSCRIPT_EM_X_OFFSET
      superscript em x offset.
    • SUPERSCRIPT_EM_Y_OFFSET

      public static final OtMetricsTag SUPERSCRIPT_EM_Y_OFFSET
      superscript em y offset.
    • STRIKEOUT_SIZE

      public static final OtMetricsTag STRIKEOUT_SIZE
      strikeout size.
    • STRIKEOUT_OFFSET

      public static final OtMetricsTag STRIKEOUT_OFFSET
      strikeout offset.
    • UNDERLINE_SIZE

      public static final OtMetricsTag UNDERLINE_SIZE
      underline size.
    • UNDERLINE_OFFSET

      public static final OtMetricsTag UNDERLINE_OFFSET
      underline offset.
  • Method Details

    • values

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