java.lang.Object | |
↳ | com.esri.core.map.ImageServiceParameters |
Represents the image service parameter options used in the ArcGISImageServiceLayer.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
enum | ImageServiceParameters.IMAGE_FORMAT | The format of the exported image. | |||||||||
enum | ImageServiceParameters.PIXEL_TYPE | The pixel type, also known as data type, pertains to the type of values stored in the raster, such as signed integer, unsigned integer, or floating point. | |||||||||
enum | ImageServiceParameters.RSP | The resampling process of extrapolating the pixel values while transforming the raster dataset when it undergoes warping or when it changes coordinate space. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ImageServiceParameters()
Instantiates an object of ImageServiceParameters.
| |||||||||||
ImageServiceParameters(ImageServiceParameters params)
Copies the properties from the given ImageServiceParameter to the current instance.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | equals(Object obj) | ||||||||||
int[] |
getBandIds()
Gets the bandIds of the ImageServiceParameters.
| ||||||||||
int |
getCompressionQuality()
Gets the compressionQuality of the ImageServiceParameters.
| ||||||||||
ImageServiceParameters.IMAGE_FORMAT |
getFormat()
Gets the format of the exported image.
| ||||||||||
ImageServiceParameters.RSP |
getInterpolation()
Gets the interpolation of the ImageServiceParameters.
| ||||||||||
MosaicRule |
getMosaicRule()
Gets the mosaicRule of the ImageServiceParameters.
| ||||||||||
int |
getNoData()
Gets the pixel value representing no information.
| ||||||||||
ImageServiceParameters.PIXEL_TYPE |
getPixelType()
Gets the pixelType of the ImageServiceParameters.
| ||||||||||
RasterFunction |
getRenderingRule()
Gets the renderingRule of the ImageServiceParameters.
| ||||||||||
int | hashCode() | ||||||||||
void |
setBandIds(int[] bandIds)
Sets the bandIds of the ImageServiceParameters.
| ||||||||||
void |
setCompressionQuality(int compressionQuality)
Sets the compressionQuality of the ImageServiceParameters.
| ||||||||||
void |
setFormat(ImageServiceParameters.IMAGE_FORMAT format)
Sets the format of the exported image.
| ||||||||||
void |
setInterpolation(ImageServiceParameters.RSP interpolation)
Sets the interpolation of the ImageServiceParameters.
| ||||||||||
void |
setMosaicRule(MosaicRule mosaicRule)
Sets the mosaicRule of the ImageServiceParameters.
| ||||||||||
void |
setNoData(int noData)
Sets the pixel value representing no information.
| ||||||||||
void |
setPixelType(ImageServiceParameters.PIXEL_TYPE pixelType)
Sets the pixelType of the ImageServiceParameters.
| ||||||||||
void |
setRenderingRule(RasterFunction renderingRule)
Sets the renderingRule of the ImageServiceParameters.
| ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Instantiates an object of ImageServiceParameters.
Copies the properties from the given ImageServiceParameter to the current instance.
params | the ImageServiceParameter to copy from. |
---|
Gets the bandIds of the ImageServiceParameters. If there are multiple bands, you can specify a single band to export, or you can change the band combination (red, green, blue) by specifying the band number. Band number is 0 based. Example: setBandIds(new int[]{2,1,0});
Gets the compressionQuality of the ImageServiceParameters. It controls how much loss the image will be subjected to by the compression algorithm. Valid value ranges of compression quality are from 0 to 100. Example: setCompressionQuality(75);
Gets the format of the exported image. The default format is jpgpng.
Gets the interpolation of the ImageServiceParameters. It is the resampling process of extrapolating the pixel values while transforming the raster dataset when it undergoes warping or when it changes coordinate space.
Gets the mosaicRule of the ImageServiceParameters. It specifies the mosaic rule when defining how individual images should be mosaicked. It specifies selection, mosaic method, sort order, overlapping pixel resolution, etc. When mosaic rule is not specified, mosaic rule will default to esriMosaicNone.
Gets the pixel value representing no information. Example: setNoData(0);
Gets the pixelType of the ImageServiceParameters. The pixel type, also known as data type, pertains to the type of values stored in the raster, such as signed integer, unsigned integer, or floating point. Integers are whole numbers, whereas floating points have decimals.
Gets the renderingRule of the ImageServiceParameters. It specifies the rendering rule for how the requested image should be rendered.
Sets the bandIds of the ImageServiceParameters. If there are multiple bands, you can specify a single band to export, or you can change the band combination (red, green, blue) by specifying the band number. Band number is 0 based. Example: setBandIds(new int[]{2,1,0});
bandIds | The bandIds to set. |
---|
Sets the compressionQuality of the ImageServiceParameters. It controls how much loss the image will be subjected to by the compression algorithm. Valid value ranges of compression quality are from 0 to 100. Example: setCompressionQuality(75);
compressionQuality | The compressionQuality to set. |
---|
Sets the format of the exported image. The default format is jpgpng.
format | The format to set. |
---|
Sets the interpolation of the ImageServiceParameters. It is the resampling process of extrapolating the pixel values while transforming the raster dataset when it undergoes warping or when it changes coordinate space.
interpolation | The interpolation to set. |
---|
Sets the mosaicRule of the ImageServiceParameters. It specifies the mosaic rule when defining how individual images should be mosaicked. It specifies selection, mosaic method, sort order, overlapping pixel resolution, etc. When mosaic rule is not specified, mosaic rule will default to esriMosaicNone.
mosaicRule | The mosaicRule to set. |
---|
Sets the pixel value representing no information. Example: setNoData(0);
noData | The noData to set. |
---|
Sets the pixelType of the ImageServiceParameters. The pixel type, also known as data type, pertains to the type of values stored in the raster, such as signed integer, unsigned integer, or floating point. Integers are whole numbers, whereas floating points have decimals.
pixelType | The pixelType to set. |
---|
Sets the renderingRule of the ImageServiceParameters. It specifies the rendering rule for how the requested image should be rendered.
renderingRule | The renderingRule to set. |
---|