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 FontIdentifier
equals
in class java.lang.Object
public int hashCode()
hashCode
in interface FontIdentifier
hashCode
in class java.lang.Object
public 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 FontIdentifier
public FontType getFontType()
FontIdentifier
getFontType
in interface FontIdentifier