public static enum Scale.Gradient extends Enum<Scale.Gradient>
| Enum Constant and Description |
|---|
LEFT_RIGHT
左到右
|
LEFT_TOP_TO_RIGHT_BOTTOM
左上到右下
|
RIGHT_TOP_TO_LEFT_BOTTOM
右上到左下
|
TOP_BOTTOM
上到下
|
| Modifier and Type | Method and Description |
|---|---|
static Scale.Gradient |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Scale.Gradient[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Scale.Gradient TOP_BOTTOM
public static final Scale.Gradient LEFT_RIGHT
public static final Scale.Gradient LEFT_TOP_TO_RIGHT_BOTTOM
public static final Scale.Gradient RIGHT_TOP_TO_LEFT_BOTTOM
public static Scale.Gradient[] values()
for (Scale.Gradient c : Scale.Gradient.values()) System.out.println(c);
public static Scale.Gradient 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 nullCopyright © 2022. All rights reserved.