public class CompoundFontRecord extends java.lang.Object implements FontRecord
| Constructor and Description |
|---|
CompoundFontRecord(FontRecord base,
CompoundFontFamily family,
boolean boldSpecified,
boolean italicsSpecified) |
| Modifier and Type | Method and Description |
|---|---|
FontRecord |
getBase() |
FontFamily |
getFamily()
Returns the family for this record.
|
FontIdentifier |
getIdentifier() |
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.
|
public CompoundFontRecord(FontRecord base, CompoundFontFamily family, boolean boldSpecified, boolean italicsSpecified)
public FontRecord getBase()
public FontFamily getFamily()
FontRecordgetFamily in interface FontRecordpublic boolean isBold()
FontRecordisBold in interface FontRecordpublic boolean isItalic()
FontRecordisItalic in interface FontRecordpublic boolean isOblique()
FontRecordisOblique in interface FontRecordpublic FontIdentifier getIdentifier()
getIdentifier in interface FontRecord