A ColorRamp object for use in a StretchRenderer. More...
Header: | #include <ColorRamp.h> |
Since: | Esri::ArcGISRuntime 100.0 |
Inherits: | Esri::ArcGISRuntime::Object |
Public Functions
virtual | ~ColorRamp() override |
Static Public Members
Esri::ArcGISRuntime::ColorRamp * | create(Esri::ArcGISRuntime::PresetColorRampType presetColorRampType, int size = 256, QObject *parent = nullptr) |
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]
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.