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 FontIdentifier
equals
in class Object
public int hashCode()
hashCode
in interface FontIdentifier
hashCode
in class Object
public String getFontSource()
public String getFontVariant()
public String getFontName()
public int getCollectionIndex()
public long getOffset()
public boolean isScalable()
isScalable
in interface FontIdentifier
public FontType getFontType()
FontIdentifier
getFontType
in interface FontIdentifier