OpenTypeStyles

Contents
[ ]

Inheritance: java.lang.Object

All Implemented Interfaces: com.groupdocs.metadata.core.IEnumValue

public final class OpenTypeStyles implements IEnumValue

Represents the OpenType font style.

Fields

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.

Methods

Method Description
getByRawValue(int rawValue)
getFirst()
getAllValues()
getEnumValueByRawValue(int rawValue)
getEnumValueByName(String name)
getRawValueType()
getRawValue()
name()
equals(Object o)
hashCode()

Regular

public static final OpenTypeStyles Regular

Normal text.

Bold

public static final OpenTypeStyles Bold

Bold text.

Italic

public static final OpenTypeStyles Italic

Italic text.

Underline

public static final OpenTypeStyles Underline

Underlined text.

Outline

public static final OpenTypeStyles Outline

Outline text.

Shadow

public static final OpenTypeStyles Shadow

Shadow text.

Condensed

public static final OpenTypeStyles Condensed

Condensed text.

Extended

public static final OpenTypeStyles Extended

Extended text.

getByRawValue(int rawValue)

public static OpenTypeStyles getByRawValue(int rawValue)

Parameters:

Parameter Type Description
rawValue int

Returns: OpenTypeStyles

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

name()

public String name()

Returns the name of this enumeration value.

Returns: java.lang.String

equals(Object o)

public boolean equals(Object o)

Parameters:

Parameter Type Description
o java.lang.Object

Returns: boolean

hashCode()

public int hashCode()

Returns: int