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()
FontFamily
getFamilyName
in interface FontFamily
public void addName(java.lang.String name)
public java.lang.String[] getAllNames()
getAllNames
in interface FontFamily
public FontRecord getFontRecord(boolean bold, boolean italics)
FontFamily
getFontRecord
in interface FontFamily
public void addFontRecord(FontRecord record)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object