java.lang.Object
com.esri.arcgisruntime.layers.Layer
com.esri.arcgisruntime.layers.ImageAdjustmentLayer
- All Implemented Interfaces:
LayerContent,Loadable
- Direct Known Subclasses:
ArcGISMapImageLayer,ImageTiledLayer,RasterLayer,WmsLayer
A base class for raster type layers that allows per-pixel adjustments.
- Since:
- 100.0.0
-
Property Summary
Properties inherited from class com.esri.arcgisruntime.layers.Layer
loadError, loadStatus -
Method Summary
Modifier and TypeMethodDescriptionfloatReturns the brightness of the layer.floatReturns the contrast of the layer.floatgetGamma()Returns the gamma of the layer.voidsetBrightness(float brightness) Sets the brightness of the layer.voidsetContrast(float contrast) Sets the contrast of the layer.voidsetGamma(float gamma) Sets the gamma of the layer.Methods inherited from class com.esri.arcgisruntime.layers.Layer
addDoneLoadingListener, addLoadStatusChangedListener, addVisibilityChangedListener, cancelLoad, canChangeVisibility, canShowInLegend, fetchLegendInfosAsync, getAttribution, getDescription, getFullExtent, getId, getItem, getLoadError, getLoadStatus, getMaxScale, getMinScale, getName, getOpacity, getSpatialReference, getSubLayerContents, isIdentifyEnabled, isVisible, isVisibleAtScale, loadAsync, loadErrorProperty, loadStatusProperty, removeDoneLoadingListener, removeLoadStatusChangedListener, removeVisibilityChangedListener, retryLoadAsync, setCanShowInLegend, setDescription, setId, setMaxScale, setMinScale, setName, setOpacity, setVisible
-
Method Details
-
getBrightness
public float getBrightness()Returns the brightness of the layer.- Returns:
- A value between -100.0 and 100.0 inclusive
- Since:
- 100.0.0
-
setBrightness
public void setBrightness(float brightness) Sets the brightness of the layer.- Parameters:
brightness- value between -100.0 and 100.0, inclusive- Since:
- 100.0.0
-
getContrast
public float getContrast()Returns the contrast of the layer.- Returns:
- A value between -100.0 and 100.0 inclusive
- Since:
- 100.0.0
-
setContrast
public void setContrast(float contrast) Sets the contrast of the layer.- Parameters:
contrast- value between -100.0 and 100.0, inclusive- Since:
- 100.0.0
-
getGamma
public float getGamma()Returns the gamma of the layer.- Returns:
- A value between -100.0 and 100.0 inclusive
- Since:
- 100.0.0
-
setGamma
public void setGamma(float gamma) Sets the gamma of the layer.- Parameters:
gamma- value between -100.0 and 100.0, inclusive- Since:
- 100.0.0
-