OpenTypeStyles
Leave feedback
On this page
Inheritance: java.lang.Object
All Implemented Interfaces: com.groupdocs.metadata.core.IEnumValue
public final class OpenTypeStyles implements IEnumValue
Represents the OpenType font style.
| Field | Description |
|---|---|
| Regular | Normal text. |
| Bold | Bold text. |
| Italic | Italic text. |
| Underline | Underlined text. |
| Outline | Outline text. |
| Shadow | Shadow text. |
| Condensed | Condensed text. |
| Extended | Extended text. |
public static final OpenTypeStyles Regular
Normal text.
public static final OpenTypeStyles Bold
Bold text.
public static final OpenTypeStyles Italic
Italic text.
public static final OpenTypeStyles Underline
Underlined text.
public static final OpenTypeStyles Outline
Outline text.
public static final OpenTypeStyles Shadow
Shadow text.
public static final OpenTypeStyles Condensed
Condensed text.
public static final OpenTypeStyles Extended
Extended text.
public static OpenTypeStyles getByRawValue(int rawValue)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| rawValue | int |
Returns: OpenTypeStyles
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
public String name()
Returns the name of this enumeration value.
Returns: java.lang.String
public boolean equals(Object o)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| o | java.lang.Object |
Returns: boolean
public int hashCode()
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.