StretchRenderer QML Type

RasterLayer."> StretchRenderer QML Type | ArcGISQtQml
  • Esri.ArcGISRuntime
  • StretchRenderer
  • A stretch renderer that can help visualize raster data using RasterLayer. More...

    Import Statement: import Esri.ArcGISRuntime
    Since: Esri.ArcGISRuntime 100.0
    Inherits:

    BaseStretchRenderer

    Properties

    Signals

    Detailed Description

    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.

    Property Documentation

    colorRamp : ColorRamp

    Returns the color ramp object.

    See also ColorRamp.


    Signal Documentation

    colorRampChanged()

    Emitted when the colorRamp property changes.

    Note: The corresponding handler is onColorRampChanged.


    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.