Package osgeo :: Module gdal :: Class ColorTable
[hide private]
[frames] | no frames]

Class ColorTable

source code


Proxy of C++ GDALColorTableShadow class

Instance Methods [hide private]
 
__repr__(self) source code
 
__init__(self, *args, **kwargs)
__init__(self, GDALPaletteInterp palette = GPI_RGB) -> ColorTable
source code
ColorTable
Clone(self) source code
GDALPaletteInterp
GetPaletteInterpretation(self) source code
int
GetCount(self) source code
 
GetColorEntry(self, *args)
GetColorEntry(self, int entry) -> ColorEntry
source code
 
GetColorEntryAsRGB(self, *args)
GetColorEntryAsRGB(self, int entry, ColorEntry centry) -> int
source code
 
SetColorEntry(self, *args)
SetColorEntry(self, int entry, ColorEntry centry)
source code
 
CreateColorRamp(self, *args)
CreateColorRamp(self, int nStartIndex, ColorEntry startcolor, int nEndIndex, ...
source code
Class Variables [hide private]
  __swig_setmethods__ = {}
  __setattr__ = lambda self, name, value:
  __swig_getmethods__ = {}
  __getattr__ = lambda self, name:
  __swig_destroy__ = _gdal.delete_ColorTable
  __del__ = lambda self:
Method Details [hide private]

CreateColorRamp(self, *args)

source code 

CreateColorRamp(self, int nStartIndex, ColorEntry startcolor, int nEndIndex, 
    ColorEntry endcolor)