protected static enum TextStyleBuilder.TextStyle extends java.lang.Enum<TextStyleBuilder.TextStyle>
PhotoEditor.addText(String, TextStyleBuilder) and PhotoEditor.editText(View, String, TextStyleBuilder)| Enum Constant and Description |
|---|
BACKGROUND |
COLOR |
FONT_FAMILY |
GRAVITY |
SIZE |
TEXT_APPEARANCE |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getProperty() |
static TextStyleBuilder.TextStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextStyleBuilder.TextStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextStyleBuilder.TextStyle SIZE
public static final TextStyleBuilder.TextStyle COLOR
public static final TextStyleBuilder.TextStyle GRAVITY
public static final TextStyleBuilder.TextStyle FONT_FAMILY
public static final TextStyleBuilder.TextStyle BACKGROUND
public static final TextStyleBuilder.TextStyle TEXT_APPEARANCE
public static TextStyleBuilder.TextStyle[] values()
for (TextStyleBuilder.TextStyle c : TextStyleBuilder.TextStyle.values()) System.out.println(c);
public static TextStyleBuilder.TextStyle 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 getProperty()