public static enum GradientDrawable.Orientation extends Enum<GradientDrawable.Orientation>
| Enum Constant and Description |
|---|
BL_TR |
BOTTOM_TOP |
BR_TL |
LEFT_RIGHT |
RIGHT_LEFT |
TL_BR |
TOP_BOTTOM |
TR_BL |
| Modifier and Type | Method and Description |
|---|---|
static GradientDrawable.Orientation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GradientDrawable.Orientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, getDeclaringClass, getEnumValues, hashCode, name, ordinal, setEnumValues, toString, valueOfpublic static final GradientDrawable.Orientation BL_TR
public static final GradientDrawable.Orientation BOTTOM_TOP
public static final GradientDrawable.Orientation BR_TL
public static final GradientDrawable.Orientation LEFT_RIGHT
public static final GradientDrawable.Orientation RIGHT_LEFT
public static final GradientDrawable.Orientation TL_BR
public static final GradientDrawable.Orientation TOP_BOTTOM
public static final GradientDrawable.Orientation TR_BL
public static GradientDrawable.Orientation[] values()
for (GradientDrawable.Orientation c : GradientDrawable.Orientation.values()) System.out.println(c);
public static GradientDrawable.Orientation valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null