|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<GradientDrawable.Orientation>
android.graphics.drawable.GradientDrawable.Orientation
public static enum GradientDrawable.Orientation
Controls how the gradient is oriented relative to the drawable's bounds
| Enum Constant Summary | |
|---|---|
BL_TR
draw the gradient from the bottom-left to the top-right |
|
BOTTOM_TOP
draw the gradient from the bottom to the top |
|
BR_TL
draw the gradient from the bottom-right to the top-left |
|
LEFT_RIGHT
draw the gradient from the left to the right |
|
RIGHT_LEFT
draw the gradient from the right to the left |
|
TL_BR
draw the gradient from the top-left to the bottom-right |
|
TOP_BOTTOM
draw the gradient from the top to the bottom |
|
TR_BL
draw the gradient from the top-right to the bottom-left |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final GradientDrawable.Orientation TOP_BOTTOM
public static final GradientDrawable.Orientation TR_BL
public static final GradientDrawable.Orientation RIGHT_LEFT
public static final GradientDrawable.Orientation BR_TL
public static final GradientDrawable.Orientation BOTTOM_TOP
public static final GradientDrawable.Orientation BL_TR
public static final GradientDrawable.Orientation LEFT_RIGHT
public static final GradientDrawable.Orientation TL_BR
| Method Detail |
|---|
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 name
NullPointerException - if the argument is null
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||