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
A base class for raster type layers that allows per-pixel adjustments.
Since:
100.0.0
  • 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