Show / Hide Table of Contents

Class StretchRenderer

A stretch renderer enhances the visual contrast of raster data in a RasterLayer.

Inheritance
System.Object
RasterRenderer
BaseStretchRenderer
StretchRenderer
BaseStretchRenderer.Gammas
BaseStretchRenderer.EstimateStatistics
BaseStretchRenderer.StretchParameters
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.Rasters
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class StretchRenderer : BaseStretchRenderer
Remarks

A stretch renderer uses continuous raster cell values across a gradual ramp of colors to visualize raster data. It 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 cell 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.

Constructors

Name Description
StretchRenderer(StretchParameters, IEnumerable<Double>, Boolean, ColorRamp)

Initializes a new instance of the StretchRenderer class.

See Also

Renderer

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8
In This Article
Back to top Copyright © 2022 Esri.