|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.presentation.TextFont
public final class TextFont
Represents a font definition. Immutable.
| Constructor Summary | |
|---|---|
TextFont()
|
|
TextFont(FontEntityAtom fatom)
|
|
TextFont(java.lang.String fontName)
Creates a new FontData object with the specified font name. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether two FontData instances are equal. |
java.lang.String |
getFontName()
Gets the font name. |
java.lang.String |
getFontName(Theme theme)
Gets the font name, replacing theme referrence with an actual font used. |
int |
hashCode()
|
| Constructor Detail |
|---|
public TextFont()
public TextFont(java.lang.String fontName)
fontName - Font name.public TextFont(FontEntityAtom fatom)
| Method Detail |
|---|
public java.lang.String getFontName()
public java.lang.String getFontName(Theme theme)
theme - Theme from which themed font name should be taken. Its up to caller to provide a correct value. See public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - The FontData to compare with the current FontData.
public int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||