public enum ImageAlign extends java.lang.Enum<ImageAlign>
| Enum Constant and Description |
|---|
BottomCenter |
BottomLeft |
BottomRight |
Center |
Fit |
MiddleLeft |
MiddleRight |
Stretch |
Tile |
TopCenter |
TopLeft |
TopRight |
| Modifier and Type | Method and Description |
|---|---|
static ImageAlign |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImageAlign[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageAlign Center
public static final ImageAlign Fit
public static final ImageAlign Stretch
public static final ImageAlign Tile
public static final ImageAlign TopLeft
public static final ImageAlign BottomLeft
public static final ImageAlign TopRight
public static final ImageAlign BottomRight
public static final ImageAlign TopCenter
public static final ImageAlign BottomCenter
public static final ImageAlign MiddleLeft
public static final ImageAlign MiddleRight
public static ImageAlign[] values()
for (ImageAlign c : ImageAlign.values()) System.out.println(c);
public static ImageAlign 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 null