public static enum Storefront.CropRegion extends java.lang.Enum<Storefront.CropRegion>
| Enum Constant and Description |
|---|
BOTTOM
Keep the bottom of the image.
|
CENTER
Keep the center of the image.
|
LEFT
Keep the left of the image.
|
RIGHT
Keep the right of the image.
|
TOP
Keep the top of the image.
|
UNKNOWN_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static Storefront.CropRegion |
fromGraphQl(java.lang.String value) |
java.lang.String |
toString() |
static Storefront.CropRegion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Storefront.CropRegion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Storefront.CropRegion BOTTOM
public static final Storefront.CropRegion CENTER
public static final Storefront.CropRegion LEFT
public static final Storefront.CropRegion RIGHT
public static final Storefront.CropRegion TOP
public static final Storefront.CropRegion UNKNOWN_VALUE
public static Storefront.CropRegion[] values()
for (Storefront.CropRegion c : Storefront.CropRegion.values()) System.out.println(c);
public static Storefront.CropRegion valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static Storefront.CropRegion fromGraphQl(java.lang.String value)
public java.lang.String toString()
toString in class java.lang.Enum<Storefront.CropRegion>