User Tools

Site Tools


api:dk11:delphi:gisinternals.gradientcolorargb_tgis_color_tgis_color_double_double_double

Table of Contents

GradientColorARGB method

DK11 for Delphi | GisInternals.GradientColorARGB | Enums | Fields | Methods | Types

Build Gradient color for a value between _min.._max in ARGB space.

Syntax

// Delphi
function GradientColorARGB(
  const _start : TGIS_Color;
  const _end : TGIS_Color;
  const _min : Double;
  const _max : Double;
  const _value : Double
) : TGIS_Color;
// C++ Builder
extern DELPHI_PACKAGE TGIS_Color* GradientColorARGB(
  TGIS_Color* const _start,
  TGIS_Color* const _end,
  const double _min,
  const double _max,
  const double _value
);

Parameters

Name Type Description
_start TGIS_Color start color (color for _min value)
_end TGIS_Color end color (color for _max value)
_min Double minimal value
_max Double maximal value
_value Double value for which gradient color will be computed

Result

Type Description
TGIS_Color Computed color.
2017/09/04 11:15