| Modifier and Type | Field and Description |
|---|---|
private int |
features |
protected FontResource |
fontResource |
private float |
fontSize |
private int |
hash |
private java.lang.String |
name |
| Constructor and Description |
|---|
PrismFont(FontResource fontResource,
java.lang.String name,
float size) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFamilyName() |
int |
getFeatures() |
FontResource |
getFontResource() |
java.lang.String |
getFullName() |
java.lang.String |
getName() |
float |
getSize() |
FontStrike |
getStrike(BaseTransform transform) |
FontStrike |
getStrike(BaseTransform transform,
int smoothingType) |
java.lang.String |
getStyleName() |
int |
hashCode() |
private java.lang.String name
private float fontSize
protected FontResource fontResource
private int features
private int hash
PrismFont(FontResource fontResource, java.lang.String name, float size)
public java.lang.String getFullName()
getFullName in interface PGFontpublic java.lang.String getFamilyName()
getFamilyName in interface PGFontpublic java.lang.String getStyleName()
getStyleName in interface PGFontpublic int getFeatures()
getFeatures in interface PGFontpublic FontStrike getStrike(BaseTransform transform)
public FontStrike getStrike(BaseTransform transform, int smoothingType)
public FontResource getFontResource()
getFontResource in interface PGFontpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object