public enum ImageSection extends Enum<ImageSection>
| Enum Constant and Description |
|---|
bottomLeft |
bottomRight |
center |
topLeft |
topRight |
| Modifier and Type | Method and Description |
|---|---|
static ImageSection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageSection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageSection topLeft
public static final ImageSection topRight
public static final ImageSection bottomLeft
public static final ImageSection bottomRight
public static final ImageSection center
public static ImageSection[] values()
for (ImageSection c : ImageSection.values()) System.out.println(c);
public static ImageSection 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 © 2021. All rights reserved.