OpenTypeWidth
Inheritance: java.lang.Object, java.lang.Enum
All Implemented Interfaces: com.groupdocs.metadata.core.IEnumValue
public enum OpenTypeWidth extends Enum<OpenTypeWidth> implements IEnumValue
Represents the OpenType font width. Indicates a relative change from the normal aspect ratio (width to height ratio) as specified by a font designer for the glyphs in a font.
Fields
Field | Description |
---|---|
Undefined | The undefined wifth. |
UltraCondensed | The Ultra-condensed wifth. |
ExtraCondensed | The Extra-condensed wifth. |
Condensed | The Condensed wifth. |
SemiCondensed | The Semi-condensed wifth. |
Medium | The Medium (normal) wifth. |
SemiExpanded | The Semi-expanded wifth. |
Expanded | The Expanded wifth. |
ExtraExpanded | The Extra-expanded wifth. |
UltraExpanded | The Ultra-expanded wifth. |
Methods
Undefined
public static final OpenTypeWidth Undefined
The undefined wifth.
UltraCondensed
public static final OpenTypeWidth UltraCondensed
The Ultra-condensed wifth.
ExtraCondensed
public static final OpenTypeWidth ExtraCondensed
The Extra-condensed wifth.
Condensed
public static final OpenTypeWidth Condensed
The Condensed wifth.
SemiCondensed
public static final OpenTypeWidth SemiCondensed
The Semi-condensed wifth.
Medium
public static final OpenTypeWidth Medium
The Medium (normal) wifth.
SemiExpanded
public static final OpenTypeWidth SemiExpanded
The Semi-expanded wifth.
Expanded
public static final OpenTypeWidth Expanded
The Expanded wifth.
ExtraExpanded
public static final OpenTypeWidth ExtraExpanded
The Extra-expanded wifth.
UltraExpanded
public static final OpenTypeWidth UltraExpanded
The Ultra-expanded wifth.
values()
public static OpenTypeWidth[] values()
Returns: com.groupdocs.metadata.core.OpenTypeWidth[]
valueOf(String name)
public static OpenTypeWidth valueOf(String name)
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String |
Returns: OpenTypeWidth
getByRawValue(int rawValue)
public static OpenTypeWidth getByRawValue(int rawValue)
Parameters:
Parameter | Type | Description |
---|---|---|
rawValue | int |
Returns: OpenTypeWidth
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