public static enum GMOperation.Gravity extends Enum<GMOperation.Gravity>
Enum Constant and Description |
---|
Center
Offset defined from image center point.
|
East
Offset defined from right edge at the midpoint.
|
North
Offset defined from top edge at the midpoint.
|
NorthEast
Offset defined from top-right corner.
|
NorthWest
Offset defined from top-left corner.
|
South
Offset defined from bottom edge at the midpoint.
|
SouthEast
Offset defined from bottom-right corner.
|
SouthWest
Offset defined from bottom-left corner.
|
West
Offset defined from left edge at the midpoint.
|
Modifier and Type | Method and Description |
---|---|
static GMOperation.Gravity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GMOperation.Gravity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GMOperation.Gravity NorthWest
public static final GMOperation.Gravity North
public static final GMOperation.Gravity NorthEast
public static final GMOperation.Gravity West
public static final GMOperation.Gravity Center
public static final GMOperation.Gravity East
public static final GMOperation.Gravity SouthWest
public static final GMOperation.Gravity South
public static final GMOperation.Gravity SouthEast
public static GMOperation.Gravity[] values()
for (GMOperation.Gravity c : GMOperation.Gravity.values()) System.out.println(c);
public static GMOperation.Gravity 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 © 2013. All Rights Reserved.