public enum CesiumVerticalOrigin extends Enum<CesiumVerticalOrigin> implements Enumeration
Enum Constant and Description |
---|
BASELINE
If the object contains text, the origin is at the baseline of the text, otherwise the origin is at the bottom of the object.
|
BOTTOM
The bottom of the item is located at the position.
|
CENTER
The item is at the vertical center between
CesiumVerticalOrigin.BASELINE and CesiumVerticalOrigin.TOP . |
TOP
The top of the item is located at the position.
|
Modifier and Type | Method and Description |
---|---|
static CesiumVerticalOrigin |
getDefault()
Get the enum constant that is considered to be the default.
|
static CesiumVerticalOrigin |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static CesiumVerticalOrigin |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CesiumVerticalOrigin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CesiumVerticalOrigin BOTTOM
public static final CesiumVerticalOrigin CENTER
CesiumVerticalOrigin.BASELINE
and CesiumVerticalOrigin.TOP
.public static final CesiumVerticalOrigin TOP
public static final CesiumVerticalOrigin BASELINE
public static CesiumVerticalOrigin[] values()
for (CesiumVerticalOrigin c : CesiumVerticalOrigin.values()) System.out.println(c);
public static CesiumVerticalOrigin 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 nullpublic int getValue()
getValue
in interface Enumeration
@Nonnull public static CesiumVerticalOrigin getFromValue(int value)
value
- a numeric value.@Nonnull public static CesiumVerticalOrigin getDefault()