DK for Delphi | GisLayerPixel.TGIS_LayerPixel.GenerateRamp | Overloads | Constructors | Fields | Methods | Properties | Events
Generates a grid ramp.
// Delphi public procedure GenerateRamp( const _startColor : TGIS_Color; const _middleColor : TGIS_Color; const _endColor : TGIS_Color; const _minValue : Double; const _midValue : Double; const _maxValue : Double; const _useMiddle : Boolean; const _rampInterval : Double; const _legendInterval : Double; const _params : TGIS_ParamsSectionPixel; const _clearMapZones : Boolean; const _colorSpace : TGIS_ColorInterpolationMode ); overload;
// C++ Builder public: void GenerateRamp( TGIS_Color* const _startColor, TGIS_Color* const _middleColor, TGIS_Color* const _endColor, const double _minValue, const double _midValue, const double _maxValue, const bool _useMiddle, const double _rampInterval, const double _legendInterval, TGIS_ParamsSectionPixel* const _params, const bool _clearMapZones, TGIS_ColorInterpolationMode* const _colorSpace ) /* overload */;
| Name | Type | Description |
|---|---|---|
| _startColor | TGIS_Color | start color |
| _middleColor | TGIS_Color | middle color |
| _endColor | TGIS_Color | end color |
| _minValue | Double | minimum value |
| _midValue | Double | middle value |
| _maxValue | Double | maximum value |
| _useMiddle | Boolean | If True, a middle value will be used |
| _rampInterval | Double | ramp interval |
| _legendInterval | Double | legend interval |
| _params | TGIS_ParamsSectionPixel | parameters to be altered, if nil then a layer parameters will be altered |
| _clearMapZones | Boolean | if True, zones list will be cleared before adding a ramp |
| _colorSpace | TGIS_ColorInterpolationMode | color space for color interpolation |