BlendRenderer class final
A blend renderer can apply a color ramp to a hillshade to emphasize areas of high or low elevation of raster data in a RasterLayer.
The blend renderer extends HillshadeRenderer with options to provide minimum and maximum stretch values, gamma adjustments, elevation raster, and color ramp. It provides a look similar to the original raster, but with some terrain shading, giving it a textured look and making changes in elevation more visible.
- Inheritance
-
- Object
- RasterRenderer
- HillshadeRenderer
- BlendRenderer
Constructors
-
BlendRenderer({Raster? elevationRaster, required List<
double> outputMinValues, required List<double> outputMaxValues, required List<double> sourceMinValues, required List<double> sourceMaxValues, required List<double> noDataValues, required List<double> gammas, ColorRamp? colorRamp, required double altitude, required double azimuth, required double zFactor, required SlopeType slopeType, required double pixelSizeFactor, required double pixelSizePower, required int outputBitDepth}) -
Creates a blend renderer.
factory
Properties
- altitude → double
-
The altitude angle in degree.
no setterinherited
- azimuth → double
-
The azimuth angle in degree.
no setterinherited
- colorRamp → ColorRamp
-
The color ramp for creating the blend renderer.
no setter
- elevationRaster → Raster?
-
The elevation raster, Raster.
no setter
-
gammas
→ List<
double> -
Gamma adjustments.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
noDataValues
→ List<
double> -
NoData values.
no setter
- outputBitDepth → int
-
The output bit depth.
no setterinherited
-
outputMaxValues
→ List<
double> -
Output maximum stretch values.
no setter
-
outputMinValues
→ List<
double> -
Output minimum stretch values.
no setter
- pixelSizeFactor → double
-
The pixel size factor.
no setterinherited
- pixelSizePower → double
-
The pixel size power.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slopeType → SlopeType
-
The slope type.
no setterinherited
-
sourceMaxValues
→ List<
double> -
Maximum source stretch values.
no setter
-
sourceMinValues
→ List<
double> -
Minimum source stretch values.
no setter
- zFactor → double
-
The Z factor.
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