public class TrueTypeFontIdentifier extends Object implements FontIdentifier, Serializable
| Constructor and Description |
|---|
TrueTypeFontIdentifier(String fontSource,
String fontName,
String fontVariant,
int collectionIndex,
long offset) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getCollectionIndex() |
String |
getFontName() |
String |
getFontSource() |
FontType |
getFontType()
Returns the general type of this font identifier.
|
String |
getFontVariant() |
long |
getOffset() |
int |
hashCode() |
boolean |
isScalable()
Defines, whether the font identifier represents a scalable font type.
|
public boolean equals(Object o)
equals in interface FontIdentifierequals in class Objectpublic int hashCode()
hashCode in interface FontIdentifierhashCode in class Objectpublic String getFontSource()
public String getFontVariant()
public String getFontName()
public int getCollectionIndex()
public long getOffset()
public boolean isScalable()
isScalable in interface FontIdentifierpublic FontType getFontType()
FontIdentifiergetFontType in interface FontIdentifier