| Constructor and Description |
|---|
FontData(java.lang.String fontName)
Creates a new FontData object with the specified font name.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Determines whether two FontData instances are equal.
|
java.lang.String |
getFontName()
Returns the font name.
|
java.lang.String |
getFontName(IThemeEffectiveData theme)
Returns the font name, replacing theme referrence with an actual font used.
|
int |
hashCode()
Serves as a hash function for a particular type, suitable for use
in hashing algorithms and data structures like a hash table.
|
java.lang.String |
toString()
Returns string representation.
|
public FontData(java.lang.String fontName)
Creates a new FontData object with the specified font name.
fontName - Font name.public final java.lang.String getFontName()
Returns the font name.
Read/write String.
getFontName in interface IFontDatapublic final java.lang.String getFontName(IThemeEffectiveData theme)
Returns the font name, replacing theme referrence with an actual font used.
getFontName in interface IFontDatatheme - Theme from which themed font name should be taken. Its up to caller to provide a correct value. See IThemeable.createThemeEffective()public boolean equals(java.lang.Object obj)
Determines whether two FontData instances are equal.
equals in class java.lang.Objectobj - The FontData to compare with the current FontData.public int hashCode()
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
hashCode in class java.lang.Objectpublic java.lang.String toString()
Returns string representation.
toString in class java.lang.ObjectCopyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.