public class MonospaceFontRecord extends java.lang.Object implements FontRecord, FontIdentifier
| Constructor and Description |
|---|
MonospaceFontRecord(MonospaceFontFamily fontFamily,
boolean bold,
boolean italics) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
FontFamily |
getFamily()
Returns the family for this record.
|
FontType |
getFontType()
Returns the general type of this font identifier.
|
FontIdentifier |
getIdentifier() |
int |
hashCode() |
boolean |
isBold()
Returns true, if this font corresponds to a bold version of the font.
|
boolean |
isItalic()
Returns true, if this font includes italic glyphs.
|
boolean |
isOblique()
Returns tue, if this font's italic mode is in fact some sort of being oblique.
|
boolean |
isScalable()
Defines, whether the font identifier represents a scalable font type.
|
public MonospaceFontRecord(MonospaceFontFamily fontFamily, boolean bold, boolean italics)
public FontFamily getFamily()
getFamily in interface FontRecordpublic boolean isBold()
isBold in interface FontRecordpublic boolean isItalic()
isItalic in interface FontRecordpublic boolean isOblique()
isOblique in interface FontRecordpublic boolean isScalable()
isScalable in interface FontIdentifierpublic FontType getFontType()
getFontType in interface FontIdentifierpublic FontIdentifier getIdentifier()
getIdentifier in interface FontRecordpublic boolean equals(java.lang.Object o)
equals in interface FontIdentifierequals in class java.lang.Objectpublic int hashCode()
hashCode in interface FontIdentifierhashCode in class java.lang.Object