Geo::GDAL 0.21

Geo::GDAL::ColorTable Class Reference

List of all members.

Public Class Methods

 new (scalar GDALPaletteInterp=scalar Geo::GDAL::Const::GPI_RGB)

Public Object Methods

 Clone ()
 GetPaletteInterpretation ()
 GetCount ()
 GetColorEntry (scalar i)
 GetColorEntryAsRGB (scalar i)
 SetColorEntry (scalar i, listref ColorEntry)

Member Function Documentation

Geo::GDAL::ColorTable::Clone ( )
Returns:
Geo::GDAL::ColorTable object
Geo::GDAL::ColorTable::GetColorEntry ( scalar  i)
Returns:
array ColorEntry = ($c1, $c2, $c3, $c4)
Geo::GDAL::ColorTable::GetColorEntryAsRGB ( scalar  i)
Returns:
array ColorEntry = ($r, $g, $b, $alpha)
Geo::GDAL::ColorTable::GetCount ( )
Returns:
scalar (count of color entries as int)
Geo::GDAL::ColorTable::GetPaletteInterpretation ( )
Returns:
one of $Geo::GDAL::Const::GPI_*
Geo::GDAL::ColorTable::new ( scalar  GDALPaletteInterp = scalar Geo::GDAL::Const::GPI_RGB)
Geo::GDAL::ColorTable::SetColorEntry ( scalar  i,
listref  ColorEntry 
)

The documentation for this class was generated from the following file: