Skip to main content

ThemeFont Class

Defines a font for a presentation theme.

Declaration

public final class ThemeFont extends Struct<ThemeFont>

Inherited Members

com.devexpress.system.Struct.equals(java.lang.Object)
com.devexpress.system.Struct.getHashCode()
com.devexpress.system.Struct.hashCode()
java.lang.Object.clone()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.toString()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
com.devexpress.system.Struct
ThemeFont

Constructors

ThemeFont() Constructor

Initializes a new instance of the ThemeFont class.

Declaration

public ThemeFont()

ThemeFont(String latinFontName, String eastAsianFontName, String complexScriptFontName) Constructor

Initializes a new instance of the ThemeFont class with specified settings.

Declaration

public ThemeFont(String latinFontName, String eastAsianFontName, String complexScriptFontName)

Parameters

Name Type Description
latinFontName String

The Latin font name. If this value is null or empty, the automatic theme font applies.

eastAsianFontName String

The East Asian font name. If this value is null or empty, the automatic theme font applies.

complexScriptFontName String

The Latin font name. If this value is null or empty, the automatic theme font applies.

ThemeFont(String latinFontName, String eastAsianFontName) Constructor

Initializes a new instance of the ThemeFont class with specified settings.

Declaration

public ThemeFont(String latinFontName, String eastAsianFontName)

Parameters

Name Type Description
latinFontName String

The Latin font name. If this value is null or empty, the automatic theme font applies.

eastAsianFontName String

The East Asian font name. If this value is null or empty, the automatic theme font applies.

ThemeFont(String latinFontName) Constructor

Initializes a new instance of the ThemeFont class with specified settings.

Declaration

public ThemeFont(String latinFontName)

Parameters

Name Type Description
latinFontName String

The Latin font name. If this value is null or empty, the automatic theme font applies.

Fields

OFFICE Field

The Office theme font.

Declaration

public static final ThemeFont OFFICE

Field Value

Type Description
ThemeFont

The Office theme font.

Methods

equals(Object obj) Method

Determines whether the specified ThemeFont object is equal to the current object.

Declaration

public boolean equals(Object obj)

Parameters

Name Type Description
obj Object

The object to compare with the current object.

Returns

Type Description
boolean

true if the specified object is equal to the current object; otherwise, false.

equals(ThemeFont other) Method

Determines whether the specified ThemeFont object is equal to the current object.

Declaration

public boolean equals(ThemeFont other)

Parameters

Name Type Description
other ThemeFont

The other parameter.

Returns

Type Description
boolean

true if the specified object is equal to the current object; otherwise, false.

getComplexScriptFont() Method

Returns the font for complex script text.

Declaration

public TextFont getComplexScriptFont()

Returns

Type Description
TextFont

The font for complex script text.

getEastAsianFont() Method

Returns the font for East Asian text.

Declaration

public TextFont getEastAsianFont()

Returns

Type Description
TextFont

The font for East Asian text.

getLatinFont() Method

Returns the font for Latin text.

Declaration

public TextFont getLatinFont()

Returns

Type Description
TextFont

The font for Latin text.

hashCode() Method

Returns a hash code for this ThemeFont object.

Declaration

public int hashCode()

Returns

Type Description
int

The identification number.