public class CompoundFontRecord extends 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()
FontRecord
getFamily
in interface FontRecord
public boolean isBold()
FontRecord
isBold
in interface FontRecord
public boolean isItalic()
FontRecord
isItalic
in interface FontRecord
public boolean isOblique()
FontRecord
isOblique
in interface FontRecord
public FontIdentifier getIdentifier()
getIdentifier
in interface FontRecord
Copyright © 2018 Hitachi Vantara. All rights reserved.