Package org.freedesktop.harfbuzz
Enum Class OtMetricsTag
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<OtMetricsTag>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum OtMetricsTag
extends Enum<OtMetricsTag>
implements Enumeration
Metric tags corresponding to [MVAR Value
Tags](https://docs.microsoft.com/en-us/typography/opentype/spec/mvar
value
-tags)-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptioncap height.horizontal ascender.horizontal caret offset.horizontal caret rise.horizontal caret run.horizontal clipping ascent.horizontal clipping descent.horizontal descender.horizontal line gap.strikeout offset.strikeout size.subscript em x offset.subscript em x size.subscript em y offset.subscript em y size.superscript em x offset.superscript em x size.superscript em y offset.superscript em y size.underline offset.underline size.vertical ascender.vertical caret offset.vertical caret rise.vertical caret run.vertical descender.vertical line gap.x height. -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the OtMetricsTag classint
getValue()
Get the numeric value of this enumstatic OtMetricsTag
of
(int value) Create a new OtMetricsTag for the provided valuestatic OtMetricsTag
Returns the enum constant of this class with the specified name.static OtMetricsTag[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HORIZONTAL_ASCENDER
horizontal ascender. -
HORIZONTAL_DESCENDER
horizontal descender. -
HORIZONTAL_LINE_GAP
horizontal line gap. -
HORIZONTAL_CLIPPING_ASCENT
horizontal clipping ascent. -
HORIZONTAL_CLIPPING_DESCENT
horizontal clipping descent. -
VERTICAL_ASCENDER
vertical ascender. -
VERTICAL_DESCENDER
vertical descender. -
VERTICAL_LINE_GAP
vertical line gap. -
HORIZONTAL_CARET_RISE
horizontal caret rise. -
HORIZONTAL_CARET_RUN
horizontal caret run. -
HORIZONTAL_CARET_OFFSET
horizontal caret offset. -
VERTICAL_CARET_RISE
vertical caret rise. -
VERTICAL_CARET_RUN
vertical caret run. -
VERTICAL_CARET_OFFSET
vertical caret offset. -
X_HEIGHT
x height. -
CAP_HEIGHT
cap height. -
SUBSCRIPT_EM_X_SIZE
subscript em x size. -
SUBSCRIPT_EM_Y_SIZE
subscript em y size. -
SUBSCRIPT_EM_X_OFFSET
subscript em x offset. -
SUBSCRIPT_EM_Y_OFFSET
subscript em y offset. -
SUPERSCRIPT_EM_X_SIZE
superscript em x size. -
SUPERSCRIPT_EM_Y_SIZE
superscript em y size. -
SUPERSCRIPT_EM_X_OFFSET
superscript em x offset. -
SUPERSCRIPT_EM_Y_OFFSET
superscript em y offset. -
STRIKEOUT_SIZE
strikeout size. -
STRIKEOUT_OFFSET
strikeout offset. -
UNDERLINE_SIZE
underline size. -
UNDERLINE_OFFSET
underline offset.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
of
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 interfaceEnumeration
- Returns:
- the enum value
-
getType
-