OpenTypeVersion
Leave feedback
On this page
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.
| Field | Description |
|---|---|
| TrueType | The TrueType font. |
| Cff | The OpenType font with PostScript outlines. |
| TrueTypeOsX | The OS X and iOS TrueType font. |
public static final OpenTypeVersion TrueType
The TrueType font.
public static final OpenTypeVersion Cff
The OpenType font with PostScript outlines.
public static final OpenTypeVersion TrueTypeOsX
The OS X and iOS TrueType font.
public static OpenTypeVersion[] values()
Returns: com.groupdocs.metadata.core.OpenTypeVersion[]
public static OpenTypeVersion valueOf(String name)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String |
Returns: OpenTypeVersion
public static OpenTypeVersion getByRawValue(int rawValue)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| rawValue | int |
Returns: OpenTypeVersion
public static IEnumValue getFirst()
Returns: IEnumValue
public Object[] getAllValues()
Returns the array of all values defined in the class.
Returns: java.lang.Object[]
public IEnumValue getEnumValueByRawValue(int rawValue)
Returns the enumeration value by the raw value associated with it.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| rawValue | int |
Returns: IEnumValue
public IEnumValue getEnumValueByName(String name)
Returns the enumeration value by its name.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String |
Returns: IEnumValue
public RawIntegerType getRawValueType()
Returns the underlying type of the raw value of this enumeration value.
Returns: RawIntegerType
public int getRawValue()
Returns the raw value of this enumeration value.
Returns: int
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.