public enum Face extends java.lang.Enum<Face>
FontLoader
will take to load the Roboto typefaces.
Created by drew.heavner on 6/26/14.| Enum Constant and Description |
|---|
ROBOTO_BOLD |
ROBOTO_LIGHT |
ROBOTO_MEDIUM |
ROBOTO_REGULAR |
ROBOTO_THIN |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFontFileName() |
static Face |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Face[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Face ROBOTO_BOLD
public static final Face ROBOTO_LIGHT
public static final Face ROBOTO_MEDIUM
public static final Face ROBOTO_REGULAR
public static final Face ROBOTO_THIN
public static Face[] values()
for (Face c : Face.values()) System.out.println(c);
public static Face valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getFontFileName()