Module com.esri.arcgisruntime
Package com.esri.arcgisruntime.layers
Enum Class ArcGISMapImageLayer.ImageFormat
java.lang.Object
java.lang.Enum<ArcGISMapImageLayer.ImageFormat>
com.esri.arcgisruntime.layers.ArcGISMapImageLayer.ImageFormat
- All Implemented Interfaces:
Serializable
,Comparable<ArcGISMapImageLayer.ImageFormat>
,Constable
- Enclosing class:
ArcGISMapImageLayer
Defines image formats supported by ArcGIS map services and ArcGIS image services.
- Since:
- 100.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ArcGISMapImageLayer.ImageFormat[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
Default image format defined by the service.- Since:
- 100.0
-
PNG
PNG. Supported in ArcGIS map service only.- Since:
- 100.0
-
PNG8
8-bit PNG. Supported in both the ArcGIS image and map services.- Since:
- 100.0
-
PNG24
24bit PNG. Supported in both the ArcGIS image and map services.- Since:
- 100.0
-
PNG32
PNG32. Supported in both the ArcGIS image and map services.- Since:
- 100.0
-
JPG
JPEG. Supported in both the ArcGIS image and map services.- Since:
- 100.0
-
JPG_PNG
JPG or PNG. Supported in ArcGIS image service only.This format returns a JPG if there are no transparent pixels in the requested extent, otherwise it returns a PNG.
- Since:
- 100.0
-
BMP
BMP.- Since:
- 100.0
-
GIF
GIF.- Since:
- 100.0
-
TIFF
TIFF.- Since:
- 100.0
-
UNKNOWN
Format unknown.- Since:
- 100.0
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-