public enum CesiumImageFormat extends Enum<CesiumImageFormat> implements Enumeration
Enum Constant and Description |
---|
BMP
The image is in bitmap (BMP) format.
|
GIF
The image is in Graphics Interchange Format (GIF) format.
|
JPEG
The image is in Joint Photographic Experts Group (JPEG) format.
|
PNG
The image is in Portable Network Graphics (PNG) format.
|
Modifier and Type | Method and Description |
---|---|
static CesiumImageFormat |
getDefault()
Get the enum constant that is considered to be the default.
|
static CesiumImageFormat |
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 CesiumImageFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CesiumImageFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CesiumImageFormat PNG
public static final CesiumImageFormat JPEG
public static final CesiumImageFormat GIF
public static final CesiumImageFormat BMP
public static CesiumImageFormat[] values()
for (CesiumImageFormat c : CesiumImageFormat.values()) System.out.println(c);
public static CesiumImageFormat 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 CesiumImageFormat getFromValue(int value)
value
- a numeric value.@Nonnull public static CesiumImageFormat getDefault()