public class ITextBuiltInFontRecord extends Object implements FontRecord, FontIdentifier
Constructor and Description |
---|
ITextBuiltInFontRecord(FontFamily family,
String fullName,
boolean bold,
boolean italics,
boolean oblique) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
FontFamily |
getFamily()
Returns the family for this record.
|
FontType |
getFontType()
Returns the general type of this font identifier.
|
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, String fullName, boolean bold, boolean italics, boolean oblique)
public FontFamily getFamily()
FontRecord
getFamily
in interface FontRecord
public String getFullName()
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
public boolean isScalable()
FontIdentifier
isScalable
in interface FontIdentifier
public FontType getFontType()
FontIdentifier
getFontType
in interface FontIdentifier
public boolean equals(Object o)
equals
in interface FontIdentifier
equals
in class Object
public int hashCode()
hashCode
in interface FontIdentifier
hashCode
in class Object
Copyright © 2017 Hitachi Vantara. All rights reserved.