|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.FontDataEx
public final class FontDataEx
Represents a font definition. Immutable.
Constructor Summary | |
---|---|
FontDataEx(java.lang.String fontName)
Creates a new FontDataEx object with the specified font name. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Determines whether two FontDataEx instances are equal. |
java.lang.String |
getFontName()
Returns the font name. |
java.lang.String |
getFontName(ThemeEx 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. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FontDataEx(java.lang.String fontName)
Creates a new FontDataEx object with the specified font name.
fontName
- Font name.Method Detail |
---|
public java.lang.String getFontName()
Returns the font name. Read-only string
.
public java.lang.String getFontName(ThemeEx theme)
Returns the font name, replacing theme referrence with an actual font used.
theme
- Theme from which themed font name should be taken. Its up to caller to provide a correct value. See BaseSlideEx.Theme
public boolean equals(java.lang.Object obj)
Determines whether two FontDataEx instances are equal.
equals
in class java.lang.Object
obj
- The FontDataEx to compare with the current FontDataEx.
<b>true</b>
if the specified FontDataEx is equal to the current FontDataEx; otherwise, <b>false</b>
.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.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |