public class ITextBuiltInFontRecord extends java.lang.Object implements FontRecord, FontIdentifier
| Constructor and Description |
|---|
ITextBuiltInFontRecord(FontFamily family,
java.lang.String fullName,
boolean bold,
boolean italics,
boolean oblique) |
| 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.
|
java.lang.String |
getFullName() |
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 ITextBuiltInFontRecord(FontFamily family, java.lang.String fullName, boolean bold, boolean italics, boolean oblique)
public FontFamily getFamily()
FontRecordgetFamily in interface FontRecordpublic java.lang.String getFullName()
public boolean isBold()
FontRecordisBold in interface FontRecordpublic boolean isItalic()
FontRecordisItalic in interface FontRecordpublic boolean isOblique()
FontRecordisOblique in interface FontRecordpublic FontIdentifier getIdentifier()
getIdentifier in interface FontRecordpublic boolean isScalable()
FontIdentifierisScalable in interface FontIdentifierpublic FontType getFontType()
FontIdentifiergetFontType in interface FontIdentifierpublic 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