public class MonospaceFontFamily extends java.lang.Object implements FontFamily
Constructor and Description |
---|
MonospaceFontFamily(java.lang.String familyName) |
Modifier and Type | Method and Description |
---|---|
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()
getFamilyName
in interface FontFamily
public java.lang.String[] getAllNames()
getAllNames
in interface FontFamily
public FontRecord getFontRecord(boolean bold, boolean italics)
getFontRecord
in interface FontFamily
bold
- italics
- public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object