Package com.esri.arcgisruntime.layers
Class ImageAdjustmentLayer
- 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
public abstract class ImageAdjustmentLayer extends Layer
Methods on this class allow a layer image's brightness, contrast and gamma to be changed.- Since:
- 100.0.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetBrightness()Returns the brightness of the layer.floatgetContrast()Returns 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, removeDoneLoadingListener, removeLoadStatusChangedListener, removeVisibilityChangedListener, retryLoadAsync, setCanShowInLegend, setDescription, setId, setMaxScale, setMinScale, setName, setOpacity, setVisible
-
-
-
-
Method Detail
-
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
-
-