ThemeFont Class
Defines a font for a presentation theme.
Declaration
public final class ThemeFont extends Struct<ThemeFont>
Inherited Members
Inheritance
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 |
| eastAsianFontName | String | The East Asian font name. If this value is |
| complexScriptFontName | String | The Latin font name. If this value is |
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 |
| eastAsianFontName | String | The East Asian font name. If this value is |
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 |
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 |
|
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 |
|
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. |