A ColorRamp object for use in a StretchRenderer. More...
Header | #include <Color |
Since | Esri |
Inherits | Esri |
Public Functions
virtual | ~ |
Static Public Members
Esri | create( |
Detailed Description
Relevant samples:
- Blend raster layer: Blend a hillshade with a raster by specifying the elevation data. The resulting raster looks similar to the original raster, but with some terrain shading, giving it a textured look.
- Stretch renderer: Use a stretch renderer to enhance the visual contrast of raster data for analysis.
Member Function Documentation
[override virtual noexcept]
ColorRamp::~ColorRamp ()
Destructor.
[static]
Esri::ArcGISRuntime::ColorRamp *ColorRamp::create(Esri::ArcGISRuntime::PresetColorRampType presetColorRampType , int size = 256, QObject *parent = nullptr)
Returns a color ramp with predefined color ramp type and size.
- presetColorRampType - The predefined color ramp type.
- size - Size of the color ramp. A typical value is 256.
- parent - The optional parent QObject.