-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Comparable
public enum PositionableGradientDrawable.OrientationControls how the gradient is oriented relative to the drawable's bounds
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TOP_BOTTOMdraw the gradient from the top to the bottom
TR_BLdraw the gradient from the top-right to the bottom-left
RIGHT_LEFTdraw the gradient from the right to the left
BR_TLdraw the gradient from the bottom-right to the top-left
BOTTOM_TOPdraw the gradient from the bottom to the top
BL_TRdraw the gradient from the bottom-left to the top-right
LEFT_RIGHTdraw the gradient from the left to the right
TL_BRdraw the gradient from the top-left to the bottom-right
-
Method Summary
Modifier and Type Method Description static Array<PositionableGradientDrawable.Orientation>values()static PositionableGradientDrawable.OrientationvalueOf(String name)-
-
Method Detail
-
values
static Array<PositionableGradientDrawable.Orientation> values()
-
valueOf
static PositionableGradientDrawable.Orientation valueOf(String name)
-
-
-
-