Package com.esri.arcgisruntime.layers
Enum ArcGISMapImageLayer.ImageFormat
- java.lang.Object
-
- java.lang.Enum<ArcGISMapImageLayer.ImageFormat>
-
- com.esri.arcgisruntime.layers.ArcGISMapImageLayer.ImageFormat
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ArcGISMapImageLayer.ImageFormat>
- Enclosing class:
- ArcGISMapImageLayer
public static enum ArcGISMapImageLayer.ImageFormat extends java.lang.Enum<ArcGISMapImageLayer.ImageFormat>
Defines image formats supported by a map image service.- Since:
- 100.0.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BMP
BMP.DEFAULT
Default image format defined by the service.GIF
GIF.JPG
JPG.JPG_PNG
This format returns a JPG if there are no transparent pixels in the requested extent; otherwise a PGN.PNG
PNG.PNG24
24-bit PNG.PNG32
32-bit PNG.PNG8
8-bit PNG.TIFF
TIFF.UNKNOWN
Format unknown.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ArcGISMapImageLayer.ImageFormat
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ArcGISMapImageLayer.ImageFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final ArcGISMapImageLayer.ImageFormat DEFAULT
Default image format defined by the service.- Since:
- 100.0
-
PNG
public static final ArcGISMapImageLayer.ImageFormat PNG
PNG.- Since:
- 100.0
-
PNG8
public static final ArcGISMapImageLayer.ImageFormat PNG8
8-bit PNG.- Since:
- 100.0
-
PNG24
public static final ArcGISMapImageLayer.ImageFormat PNG24
24-bit PNG.- Since:
- 100.0
-
PNG32
public static final ArcGISMapImageLayer.ImageFormat PNG32
32-bit PNG.- Since:
- 100.0
-
JPG
public static final ArcGISMapImageLayer.ImageFormat JPG
JPG.- Since:
- 100.0
-
JPG_PNG
public static final ArcGISMapImageLayer.ImageFormat JPG_PNG
This format returns a JPG if there are no transparent pixels in the requested extent; otherwise a PGN. Note that support for the jpgpng format was added at 10.0.- Since:
- 100.0
-
BMP
public static final ArcGISMapImageLayer.ImageFormat BMP
BMP.- Since:
- 100.0
-
GIF
public static final ArcGISMapImageLayer.ImageFormat GIF
GIF.- Since:
- 100.0
-
TIFF
public static final ArcGISMapImageLayer.ImageFormat TIFF
TIFF.- Since:
- 100.0
-
UNKNOWN
public static final ArcGISMapImageLayer.ImageFormat UNKNOWN
Format unknown.- Since:
- 100.0
-
-
Method Detail
-
values
public static ArcGISMapImageLayer.ImageFormat[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ArcGISMapImageLayer.ImageFormat c : ArcGISMapImageLayer.ImageFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ArcGISMapImageLayer.ImageFormat valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-