User Tools

Site Tools


api:dk11:delphi:gislayerpixel.tgis_layerpixel.generateramp_tgis_color_tgis_color_tgis_color_double_double_53d50db0d3d136eb97ec8b43b05bd560

Table of Contents

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

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

Generates a grid ramp.

Available also on: .NET | Java | ActiveX | Python.

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

References

2022/11/16 01:19

Page Tools