User Tools

Site Tools


api:dk11:delphi:gislayerpixel.tgis_layerpixel.generateramp_tgis_color_tgis_color_tgis_color_double_double_519205e514fbe37a57e4aa425adb249b

Table of Contents

TGIS_LayerPixel.GenerateRamp(TGIS_Color; TGIS_Color; TGIS_Color; Double; Double; Double; Boolean; Double; Double; TGIS_ParamsSectionPixel; Boolean; TGIS_ColorInterpolationMode) method

DK11 for Delphi | GisLayerPixel.TGIS_LayerPixel.GenerateRamp | Overloads | Constructors | Fields | Methods | Properties | Events

Generates a grid ramp.

Available also on: .NET | Java | ActiveX.

Syntax

// 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 */;

Parameters

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

References

2020/05/30 20:29

Page Tools