Package com.esri.arcgisruntime.raster
Class StretchRenderer
- java.lang.Object
-
- com.esri.arcgisruntime.raster.RasterRenderer
-
- com.esri.arcgisruntime.raster.BaseStretchRenderer
-
- com.esri.arcgisruntime.raster.StretchRenderer
-
public final class StretchRenderer extends BaseStretchRenderer
Defines a renderer that displays continuous raster cell values across a gradual ramp of colors. Use this renderer to display a single band or continuous data, such as in imagery, aerial photography, or elevation models.- Since:
- 100.0.0
-
-
Constructor Summary
Constructors Constructor Description StretchRenderer(StretchParameters stretchParameters, List<Double> gammas, boolean estimateStatistics, ColorRamp colorRamp)
Creates an instance of StretchRenderer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColorRamp
getColorRamp()
Gets the color ramp.-
Methods inherited from class com.esri.arcgisruntime.raster.BaseStretchRenderer
getGammas, getStretchParameters, isEstimateStatistics
-
-
-
-
Constructor Detail
-
StretchRenderer
public StretchRenderer(StretchParameters stretchParameters, List<Double> gammas, boolean estimateStatistics, ColorRamp colorRamp)
Creates an instance of StretchRenderer.- Parameters:
stretchParameters
- stretch parametersgammas
- gamma adjustmentsestimateStatistics
- true to enable estimating statisticscolorRamp
- color ramp- Throws:
IllegalArgumentException
- if stretchParameters is null- Since:
- 100.0.0
-
-
Method Detail
-
getColorRamp
public ColorRamp getColorRamp()
Gets the color ramp.- Returns:
- the color ramp
- Since:
- 100.0.0
-
-