public class DefaultFontFamily extends java.lang.Object implements FontFamily
| Constructor and Description |
|---|
DefaultFontFamily(java.lang.String familyName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFontRecord(FontRecord record) |
void |
addName(java.lang.String name) |
boolean |
equals(java.lang.Object o) |
java.lang.String[] |
getAllNames() |
java.lang.String |
getFamilyName()
Returns the name of the font family (in english).
|
FontRecord |
getFontRecord(boolean bold,
boolean italics)
This selects the most suitable font in that family.
|
int |
hashCode() |
public java.lang.String getFamilyName()
FontFamilygetFamilyName in interface FontFamilypublic void addName(java.lang.String name)
public java.lang.String[] getAllNames()
getAllNames in interface FontFamilypublic FontRecord getFontRecord(boolean bold, boolean italics)
FontFamilygetFontRecord in interface FontFamilypublic void addFontRecord(FontRecord record)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object