User Tools

Site Tools


api:dk11:python:tatukgis.pdk.tgis_gradientmap.realizecolormap_tgis_colormapmode_integer_boolean

Table of Contents

TGIS_GradientMap.RealizeColorMap method

DK11 for Python | tatukgis.pdk.TGIS_GradientMap.RealizeColorMap | Constructors | Methods | Properties

Prepares a colormap as requested.

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

Syntax

# Python
def RealizeColorMap(
  self,
  _mode: TGIS_ColorMapMode,
  _subClass: int,
  _reverse: bool
) -> TGIS_ColorMapArray: 

Parameters

Name Type Description
_mode TGIS_ColorMapMode colormap mode (continuous by default or discrete)
_subClass int if available, gets subclass of a ramp with specified, or the possible nearest to specified, number of colors; if 0, gets default colormap (this is the default parameter);
_reverse bool if True, reverses colors from colormap (False is the default parameter);

Result

Type Description
TGIS_ColorMapArray Array of a colormap.

References

2023/08/09 01:53

Page Tools