public class

StretchRenderer

extends Object
implements RasterRenderer
java.lang.Object
   ↳ com.esri.core.renderer.StretchRenderer

Class Overview

The StretchRenderer displays continuous raster cell values across a gradual ramp of colors. Use the StretchRenderer to draw a single band of continuous data. The StretchRenderer works well when you have a large range of values to display, such as in imagery, aerial photographs, or elevation models. For multi band rasters, see RGBRenderer.

Summary

Public Constructors
StretchRenderer()
Public Methods
StretchParameters getStretchParameters()
Gets the StretchParameters applied to this renderer.
void setStretchParameters(StretchParameters stretchParameters)
Sets the StretchParameters to apply to this renderer.
String toJson()
Converts the render to a Json String.
Protected Methods
void toJson(JsonGenerator node)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.esri.core.renderer.RasterRenderer

Public Constructors

public StretchRenderer ()

Public Methods

public StretchParameters getStretchParameters ()

Gets the StretchParameters applied to this renderer.

Returns
StretchParameters the stretch parameters applied to this renderer

public void setStretchParameters (StretchParameters stretchParameters)

Sets the StretchParameters to apply to this renderer. See StretchParameters for more details.

Parameters
stretchParameters StretchParameters: the stretch parameters to apply to this renderer

public String toJson ()

Converts the render to a Json String.

Returns
String a String containing the json representation of the renderer
Throws
Exception

Protected Methods

protected void toJson (JsonGenerator node)

Parameters
node JsonGenerator
Throws
Exception