public enum GradientOrientation extends Enum<GradientOrientation> implements Key
| Enum Constant and Description | 
|---|
| BOTTOM_LEFTFrom bottom(right) to left(top) (diagonal) | 
| BOTTOM_RIGHTFrom bottom(left) to right(top) (diagonal) | 
| BOTTOM_UPFrom bottom to to (vertical) | 
| IN_OUTFrom center to the borders (ONLY radial) | 
| LEFT_RIGHTFrom left to right (horizontal) | 
| OUT_INFrom borders to the center (ONLY radial) | 
| RIGHT_LEFTFrom right to left (horizontal) | 
| TOP_DOWNFrom top to bottom (vertical) | 
| TOP_LEFTFrom top(right) to left(bottom) (diagonal) | 
| TOP_RIGHTFrom top(left) to right(bottom) (diagonal) | 
| Modifier and Type | Method and Description | 
|---|---|
| static GradientOrientation | getDefaultByType(GradientType type)Returns the default orientation based on gradient type. | 
| GradientType | getType()Returns the supported gradient type. | 
| String | value()Returns the name value of property | 
| static GradientOrientation | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static GradientOrientation[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfcheckIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValidpublic static final GradientOrientation TOP_DOWN
public static final GradientOrientation BOTTOM_UP
public static final GradientOrientation LEFT_RIGHT
public static final GradientOrientation RIGHT_LEFT
public static final GradientOrientation TOP_RIGHT
public static final GradientOrientation BOTTOM_LEFT
public static final GradientOrientation TOP_LEFT
public static final GradientOrientation BOTTOM_RIGHT
public static final GradientOrientation IN_OUT
public static final GradientOrientation OUT_IN
public static GradientOrientation[] values()
for (GradientOrientation c : GradientOrientation.values()) System.out.println(c);
public static GradientOrientation 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 nullpublic GradientType getType()
public String value()
Keypublic static final GradientOrientation getDefaultByType(GradientType type)
type - gradient type