User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_layerpixel.generateramp_2_itgis_color_itgis_color_itgis_color_double_double_d1108985d6947133785a787c302a1604

Table of Contents

ITGIS_LayerPixel.GenerateRamp_2 method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_LayerPixel.GenerateRamp_2 | Methods | Properties

Generates a grid ramp.

Available also on: Delphi | .NET | Java.

Syntax

// C#
public void GenerateRamp_2(
  ITGIS_Color _startColor,
  ITGIS_Color _middleColor,
  ITGIS_Color _endColor,
  double _minValue,
  double _midValue,
  double _maxValue,
  WordBool _useMiddle,
  double _rampInterval,
  double _legendInterval,
  ITGIS_ParamsSectionPixel _params,
  WordBool _clearMapZones,
  TGIS_ColorInterpolationMode _colorSpace
);
' VisualBasic
Public Sub GenerateRamp_2(
  ByVal _startColor As ITGIS_Color,
  ByVal _middleColor As ITGIS_Color,
  ByVal _endColor As ITGIS_Color,
  ByVal _minValue As Double,
  ByVal _midValue As Double,
  ByVal _maxValue As Double,
  ByVal _useMiddle As WordBool,
  ByVal _rampInterval As Double,
  ByVal _legendInterval As Double,
  ByVal _params As ITGIS_ParamsSectionPixel,
  ByVal _clearMapZones As WordBool,
  ByVal _colorSpace As TGIS_ColorInterpolationMode
)
// Oxygene
public
  procedure GenerateRamp_2(
    _startColor : ITGIS_Color;
    _middleColor : ITGIS_Color;
    _endColor : ITGIS_Color;
    _minValue : Double;
    _midValue : Double;
    _maxValue : Double;
    _useMiddle : WordBool;
    _rampInterval : Double;
    _legendInterval : Double;
    _params : ITGIS_ParamsSectionPixel;
    _clearMapZones : WordBool;
    _colorSpace : TGIS_ColorInterpolationMode
  );

Parameters

Name Type Description
_startColor ITGIS_Color start color
_middleColor ITGIS_Color middle color
_endColor ITGIS_Color end color
_minValue double
Double
minimum value
_midValue double
Double
middle value
_maxValue double
Double
maximum value
_useMiddle WordBool If True, a middle value will be used
_rampInterval double
Double
ramp interval
_legendInterval double
Double
legend interval
_params ITGIS_ParamsSectionPixel parameters to be altered, if nil then a layer parameters will be altered
_clearMapZones WordBool if True, zones list will be cleared before adding a ramp
_colorSpace TGIS_ColorInterpolationMode color space for color interpolation
2020/05/30 20:24

Page Tools