public class Font extends Object
| Modifier and Type | Field and Description |
|---|---|
static Font |
OPEN_SANS |
static Font |
PFENNIG |
static UILayerService |
service
This should only be set directly for testing
|
| Constructor and Description |
|---|
Font(String fontResourceName) |
Font(String resourceName,
int fontSize) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
double |
getLineHeight() |
String |
getResourceName() |
int |
getSize() |
int |
hashCode() |
double |
measureText(String text) |
Font |
size(int fontSize) |
String |
toString() |
public static UILayerService service
public static final Font PFENNIG
public static final Font OPEN_SANS
public Font(String fontResourceName)
public Font(String resourceName, int fontSize)
Copyright © 2013. All Rights Reserved.