StretchRenderer class final

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

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.

Inheritance

Constructors

StretchRenderer({StretchParameters? stretchParameters, required List<double> gammas, required bool estimateStatistics, ColorRamp? colorRamp})
Creates a stretch renderer.
factory

Properties

estimateStatistics bool
The status of whether to estimate statistics or not when it's not available from the data source.
no setterinherited
gammas List<double>
The gamma values.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stretchParameters StretchParameters?
The stretch parameters.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited