public final class OpenTypeStyles extends Object implements IEnumValue
Represents the OpenType font style.
| Modifier and Type | Field and Description |
|---|---|
static OpenTypeStyles |
Bold
Bold text.
|
static OpenTypeStyles |
Condensed
Condensed text.
|
static OpenTypeStyles |
Extended
Extended text.
|
static OpenTypeStyles |
Italic
Italic text.
|
static OpenTypeStyles |
Outline
Outline text.
|
static OpenTypeStyles |
Regular
Normal text.
|
static OpenTypeStyles |
Shadow
Shadow text.
|
static OpenTypeStyles |
Underline
Underlined text.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Object[] |
getAllValues()
Returns the array of all values defined in the class.
|
static OpenTypeStyles |
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.
|
int |
hashCode() |
String |
name()
Returns the name of this enumeration value.
|
public static final OpenTypeStyles Bold
Bold text.
public static final OpenTypeStyles Condensed
Condensed text.
public static final OpenTypeStyles Extended
Extended text.
public static final OpenTypeStyles Italic
Italic text.
public static final OpenTypeStyles Outline
Outline text.
public static final OpenTypeStyles Regular
Normal text.
public static final OpenTypeStyles Shadow
Shadow text.
public static final OpenTypeStyles Underline
Underlined text.
public Object[] getAllValues()
IEnumValueReturns the array of all values defined in the class.
getAllValues in interface IEnumValuepublic static OpenTypeStyles 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 String name()
IEnumValueReturns the name of this enumeration value.
name in interface IEnumValueCopyright © 2026. All rights reserved.