public class TrueTypeFontIdentifier extends Object implements FontIdentifier, Serializable, FontNativeContext
Constructor and Description |
---|
TrueTypeFontIdentifier(String fontSource,
String fontName,
String fontVariant,
int collectionIndex,
long offset,
boolean italics,
boolean bold) |
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 |
isNativeBold() |
boolean |
isNativeItalics() |
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
public boolean isNativeBold()
isNativeBold
in interface FontNativeContext
public boolean isNativeItalics()
isNativeItalics
in interface FontNativeContext
Copyright © 2018 Hitachi Vantara. All rights reserved.