public enum OpenTypeDirectionHint extends Enum<OpenTypeDirectionHint> implements IEnumValue
Represents the OpenType font direction.
| Enum Constant and Description |
|---|
FullyMixed
Fully mixed directional glyphs.
|
LeftToRightAndNeutrals
Like
OnlyLeftToRight but also contains neutrals. |
OnlyLeftToRight
Only strongly left to right.
|
OnlyRightToLeft
Only strongly right to left.
|
RightToLeftAndNeutrals
Like
OnlyRightToLeft but also contains neutrals. |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
getAllValues()
Returns the array of all values defined in the class.
|
static OpenTypeDirectionHint |
getByRawValue(int rawValue) |
IEnumValue |
getEnumValueByName(String name)
Returns the enumeration value by its name.
|
IEnumValue |
getEnumValueByRawValue(int rawValue)
Returns the enumeration value by the raw value associated with it.
|
static IEnumValue |
getFirst() |
int |
getRawValue()
Returns the raw value of this enumeration value.
|
RawIntegerType |
getRawValueType()
Returns the underlying type of the raw value of this enumeration value.
|
static OpenTypeDirectionHint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenTypeDirectionHint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfnamepublic static final OpenTypeDirectionHint FullyMixed
Fully mixed directional glyphs.
public static final OpenTypeDirectionHint LeftToRightAndNeutrals
Like OnlyLeftToRight but also contains neutrals.
public static final OpenTypeDirectionHint OnlyLeftToRight
Only strongly left to right.
public static final OpenTypeDirectionHint OnlyRightToLeft
Only strongly right to left.
public static final OpenTypeDirectionHint RightToLeftAndNeutrals
Like OnlyRightToLeft but also contains neutrals.
public Object[] getAllValues()
IEnumValueReturns the array of all values defined in the class.
getAllValues in interface IEnumValuepublic static OpenTypeDirectionHint getByRawValue(int rawValue)
public IEnumValue getEnumValueByName(String name)
IEnumValueReturns the enumeration value by its name.
getEnumValueByName in interface IEnumValuename - The name of the enumeration value.public IEnumValue getEnumValueByRawValue(int rawValue)
IEnumValueReturns the enumeration value by the raw value associated with it.
getEnumValueByRawValue in interface IEnumValuerawValue - The raw value.public static IEnumValue getFirst()
public int getRawValue()
IEnumValueReturns the raw value of this enumeration value.
getRawValue in interface IEnumValuepublic RawIntegerType getRawValueType()
IEnumValueReturns the underlying type of the raw value of this enumeration value.
getRawValueType in interface IEnumValuepublic static OpenTypeDirectionHint valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static OpenTypeDirectionHint[] values()
for (OpenTypeDirectionHint c : OpenTypeDirectionHint.values()) System.out.println(c);
Copyright © 2026. All rights reserved.