OpenTypeVersion
Inheritance: java.lang.Object, java.lang.Enum
All Implemented Interfaces: com.groupdocs.metadata.core.IEnumValue
public enum OpenTypeVersion extends Enum<OpenTypeVersion> implements IEnumValue
Represents the OpenType version.
Fields
Field | Description |
---|---|
TrueType | The TrueType font. |
Cff | The OpenType font with PostScript outlines. |
TrueTypeOsX | The OS X and iOS TrueType font. |
Methods
TrueType
public static final OpenTypeVersion TrueType
The TrueType font.
Cff
public static final OpenTypeVersion Cff
The OpenType font with PostScript outlines.
TrueTypeOsX
public static final OpenTypeVersion TrueTypeOsX
The OS X and iOS TrueType font.
values()
public static OpenTypeVersion[] values()
Returns: com.groupdocs.metadata.core.OpenTypeVersion[]
valueOf(String name)
public static OpenTypeVersion valueOf(String name)
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String |
Returns: OpenTypeVersion
getByRawValue(int rawValue)
public static OpenTypeVersion getByRawValue(int rawValue)
Parameters:
Parameter | Type | Description |
---|---|---|
rawValue | int |
Returns: OpenTypeVersion
getFirst()
public static IEnumValue getFirst()
Returns: IEnumValue
getAllValues()
public Object[] getAllValues()
Returns the array of all values defined in the class.
Returns: java.lang.Object[]
getEnumValueByRawValue(int rawValue)
public IEnumValue getEnumValueByRawValue(int rawValue)
Returns the enumeration value by the raw value associated with it.
Parameters:
Parameter | Type | Description |
---|---|---|
rawValue | int |
Returns: IEnumValue
getEnumValueByName(String name)
public IEnumValue getEnumValueByName(String name)
Returns the enumeration value by its name.
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String |
Returns: IEnumValue
getRawValueType()
public RawIntegerType getRawValueType()
Returns the underlying type of the raw value of this enumeration value.
Returns: RawIntegerType
getRawValue()
public int getRawValue()
Returns the raw value of this enumeration value.
Returns: int