StretchRenderer QML Type
|Import Statement:||import Esri.ArcGISRuntime 100.13|
- colorRamp : ColorRamp
A stretch renderer displays continuous raster cell values across a gradual ramp of colors. Use it to draw a single band of continuous data. The stretch renderer works well when you have a large range of values to display, such as in imagery, aerial photographs, or elevation models.
Stretching improves the appearance of the raster data by spreading its pixel values along a histogram whose minimum and maximum values are defined by the raster's bit depth. For example, an 8-bit raster dataset will be stretched along a histogram from 0 to 255.
Note: This type is immutable once created. Once the renderer is created and applied to a layer, none of its properties can be changed. Instead, create a new renderer and apply it to the layer.
This QML type supports the following default properties. A default property may be declared inside another declared object without being assigned explicitly to a property.
Emitted when the colorRamp property changes.
Note: The corresponding handler is