Class 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 Detail

      • StretchRenderer

        public StretchRenderer​(StretchParameters stretchParameters,
                               List<Double> gammas,
                               boolean estimateStatistics,
                               ColorRamp colorRamp)
        Creates an instance of StretchRenderer.
        Parameters:
        stretchParameters - stretch parameters
        gammas - gamma adjustments
        estimateStatistics - true to enable estimating statistics
        colorRamp - 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