Package org.freedesktop.harfbuzz
Enum Class OtLayoutBaselineTag
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<OtLayoutBaselineTag>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum OtLayoutBaselineTag
extends Enum<OtLayoutBaselineTag>
implements Enumeration
Baseline tags from Baseline Tags registry.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe hanging baseline.Ideographic em-box bottom or left edge, if the direction is horizontal or vertical, respectively.The center of the ideographic em-box.Ideographic em-box top or right edge baseline,Ideographic character face bottom or left edge, if the direction is horizontal or vertical, respectively.The center of the ideographic character face.Ideographic character face top or right edge, if the direction is horizontal or vertical, respectively.The baseline about which mathematical characters are centered.The baseline used by alphabetic scripts such as Latin, Cyrillic and Greek. -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the OtLayoutBaselineTag classint
getValue()
Get the numeric value of this enumstatic OtLayoutBaselineTag
of
(int value) Create a new OtLayoutBaselineTag for the provided valuestatic OtLayoutBaselineTag
Returns the enum constant of this class with the specified name.static OtLayoutBaselineTag[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
Ideographic character face bottom or left edge, if the direction is horizontal or vertical, respectively. -
IDEO_FACE_TOP_OR_RIGHT
Ideographic character face top or right edge, if the direction is horizontal or vertical, respectively. -
IDEO_FACE_CENTRAL
The center of the ideographic character face. Since: 4.0.0 -
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
Ideographic em-box top or right edge baseline, -
IDEO_EMBOX_CENTRAL
The center of the ideographic em-box. Since: 4.0.0 if the direction is horizontal or vertical, respectively. -
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
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 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 interfaceEnumeration
- Returns:
- the enum value
-
getType
-