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