public enum OpenTypeUnicodeEncoding extends Enum<OpenTypeUnicodeEncoding> implements IEnumValue
Represents encoding for OpenTypePlatform.Unicode
platform.
Enum Constant and Description |
---|
Iso
ISO/IEC 10646 semantics.
|
Unicode10
Unicode 1.0 semantics.
|
Unicode11
Unicode 1.1 semantics.
|
Unicode20Bmp
Unicode 2.0 and onwards semantics, Unicode BMP only ('cmap' subtable formats 0, 4, 6).
|
Unicode20Full
Unicode 2.0 and onwards semantics, Unicode full repertoire ('cmap' subtable formats 0, 4, 6, 10, 12).
|
UnicodeFull
Unicode full repertoire ('cmap' subtable formats 0, 4, 6, 10, 12, 13).
|
UnicodeVariation
Unicode Variation Sequences ('cmap' subtable format 14).
|
Modifier and Type | Method and Description |
---|---|
Object[] |
getAllValues()
Returns the array of all values defined in the class.
|
static OpenTypeUnicodeEncoding |
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 OpenTypeUnicodeEncoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenTypeUnicodeEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final OpenTypeUnicodeEncoding Unicode10
Unicode 1.0 semantics.
public static final OpenTypeUnicodeEncoding Unicode11
Unicode 1.1 semantics.
public static final OpenTypeUnicodeEncoding Iso
ISO/IEC 10646 semantics.
public static final OpenTypeUnicodeEncoding Unicode20Bmp
Unicode 2.0 and onwards semantics, Unicode BMP only ('cmap' subtable formats 0, 4, 6).
public static final OpenTypeUnicodeEncoding Unicode20Full
Unicode 2.0 and onwards semantics, Unicode full repertoire ('cmap' subtable formats 0, 4, 6, 10, 12).
public static final OpenTypeUnicodeEncoding UnicodeVariation
Unicode Variation Sequences ('cmap' subtable format 14).
public static final OpenTypeUnicodeEncoding UnicodeFull
Unicode full repertoire ('cmap' subtable formats 0, 4, 6, 10, 12, 13).
public static OpenTypeUnicodeEncoding[] values()
for (OpenTypeUnicodeEncoding c : OpenTypeUnicodeEncoding.values()) System.out.println(c);
public static OpenTypeUnicodeEncoding 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 OpenTypeUnicodeEncoding getByRawValue(int rawValue)
public static IEnumValue getFirst()
public Object[] getAllValues()
IEnumValue
Returns the array of all values defined in the class.
getAllValues
in interface IEnumValue
public IEnumValue getEnumValueByRawValue(int rawValue)
IEnumValue
Returns the enumeration value by the raw value associated with it.
getEnumValueByRawValue
in interface IEnumValue
rawValue
- The raw value.public IEnumValue getEnumValueByName(String name)
IEnumValue
Returns the enumeration value by its name.
getEnumValueByName
in interface IEnumValue
name
- The name of the enumeration value.public RawIntegerType getRawValueType()
IEnumValue
Returns the underlying type of the raw value of this enumeration value.
getRawValueType
in interface IEnumValue
public int getRawValue()
IEnumValue
Returns the raw value of this enumeration value.
getRawValue
in interface IEnumValue