java.lang.Object
com.esri.arcgisruntime.raster.RasterRenderer
com.esri.arcgisruntime.raster.HillshadeRenderer
com.esri.arcgisruntime.raster.BlendRenderer
A blend renderer can apply a color ramp to a hillshade to emphasize areas of high or low elevation of raster data in
 a 
RasterLayer.
 
 The blend renderer extends HillshadeRenderer with options to provide minimum and maximum stretch values,
 gamma adjustments, elevation raster, and color ramp. It provides a look similar to the original raster, but with
 some terrain shading, giving it a textured look and making changes in elevation more visible.
- Since:
- 100.0.0
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionBlendRenderer(Raster elevationRaster, List<Double> outputMinValues, List<Double> outputMaxValues, List<Double> sourceMinValues, List<Double> sourceMaxValues, List<Double> noDataValues, List<Double> gammas, ColorRamp colorRamp, double altitude, double azimuth, double zFactor, SlopeType slopeType, double pixelSizeFactor, double pixelSizePower, int outputBitDepth) Creates a BlendRenderer with specified values.
- 
Method SummaryModifier and TypeMethodDescriptionGets the color ramp for creating the blend renderer.Gets the elevation raster.Gets the gamma adjustments.Gets the no data values, one for each band.Gets the maximum output stretch values, one for each band.Gets the minimum output stretch values, one for each band.Gets the maximum input stretch values, one for each band.Gets the minimum input stretch values, one for each band.Methods inherited from class com.esri.arcgisruntime.raster.HillshadeRenderergetAltitude, getAzimuth, getOutputBitDepth, getPixelSizeFactor, getPixelSizePower, getSlopeType, getZFactor
- 
Constructor Details- 
BlendRendererpublic BlendRenderer(Raster elevationRaster, List<Double> outputMinValues, List<Double> outputMaxValues, List<Double> sourceMinValues, List<Double> sourceMaxValues, List<Double> noDataValues, List<Double> gammas, ColorRamp colorRamp, double altitude, double azimuth, double zFactor, SlopeType slopeType, double pixelSizeFactor, double pixelSizePower, int outputBitDepth) Creates a BlendRenderer with specified values.- Parameters:
- elevationRaster- elevation raster
- outputMinValues- minimum output stretch values, one for each band
- outputMaxValues- maximum output stretch values, one for each band
- sourceMinValues- input minimum stretch values, one per band
- sourceMaxValues- input maximum stretch values, one per band
- noDataValues- values for no data
- gammas- gamma adjustments
- colorRamp- color ramp
- altitude- light's angle of elevation above the horizon, in degrees
- azimuth- light's relative angle along the horizon, in degrees; measured clockwise, 0 is north
- zFactor- factor to convert z unit to x,y units
- slopeType- slope type
- pixelSizeFactor- pixel size factor to account altitude changes as the viewer zooms
- pixelSizePower- pixel size power to account altitude changes as the viewer zooms
- outputBitDepth- output bit depth
- Throws:
- IllegalArgumentException- if slopeType is null
- Since:
- 100.0.0
 
 
- 
- 
Method Details- 
getElevationRasterGets the elevation raster.- Returns:
- the elevation raster
- Since:
- 100.0.0
 
- 
getOutputMinValuesGets the minimum output stretch values, one for each band.- Returns:
- an unmodifiable list of the minimum output stretch values, one for each band
- Since:
- 100.0.0
 
- 
getOutputMaxValuesGets the maximum output stretch values, one for each band.- Returns:
- an unmodifiable list of the maximum output stretch values, one for each band
- Since:
- 100.0.0
 
- 
getSourceMinValuesGets the minimum input stretch values, one for each band.- Returns:
- an unmodifiable list of the minimum input stretch values, one for each band
- Since:
- 100.0.0
 
- 
getSourceMaxValuesGets the maximum input stretch values, one for each band.- Returns:
- an unmodifiable list of the maximum input stretch values, one for each band
- Since:
- 100.0.0
 
- 
getNoDataValuesGets the no data values, one for each band.- Returns:
- an unmodifiable list of the no data values, one for each band
- Since:
- 100.0.0
 
- 
getGammasGets the gamma adjustments.- Returns:
- an unmodifiable list of the gamma adjustments
- Since:
- 100.0.0
 
- 
getColorRampGets the color ramp for creating the blend renderer.- Returns:
- the color ramp
- Since:
- 100.0.0
 
 
-