Inheritance diagram for Geo::GDAL::ColorTable:
Public Class Methods | |
Geo::GDAL::ColorTable | new (scalar GDALPaletteInterp=scalar Geo::GDAL::Const::GPI_RGB) |
Geo::GDAL::ColorTable | create (scalar GDALPaletteInterp= 'RGB') |
Public Object Methods | |
Geo::GDAL::ColorTable | Clone () |
scalar | GetPaletteInterpretation () |
scalar | GetCount () |
list | ColorTable (list colortable) |
list | ColorEntries (list color_entries) |
list | ColorEntry (scalar i, list color) |
list | GetColorEntry (scalar i) |
list | GetColorEntryAsRGB (scalar i) |
SetColorEntry (scalar index, list ColorEntry) | |
CreateColorRamp (scalar start_index, listref start_color, scalar end_index, listref end_color) |
list Geo::GDAL::ColorTable::ColorTable | ( | list | colortable | ) |
Get or set the table of color entries.
colortable | [optional] |
Geo::GDAL::ColorTable Geo::GDAL::ColorTable::Clone | ( | ) |
list Geo::GDAL::ColorTable::ColorEntries | ( | list | color_entries | ) |
Get or set the table of color entries.
color_entries | [optional] |
list Geo::GDAL::ColorTable::ColorEntry | ( | scalar | i, | |
list | color | |||
) |
Get or set a color entry.
i | ||
color | [optional] |
Geo::GDAL::ColorTable Geo::GDAL::ColorTable::create | ( | scalar | GDALPaletteInterp = 'RGB' |
) |
Usage:
$ct = Geo::GDAL::ColorTable->create(...arguments...);
Geo::GDAL::ColorTable::CreateColorRamp | ( | scalar | start_index, | |
listref | start_color, | |||
scalar | end_index, | |||
listref | end_color | |||
) |
start_index | ||
start_color | ||
end_index | ||
end_color |
list Geo::GDAL::ColorTable::GetColorEntry | ( | scalar | i | ) |
i |
list Geo::GDAL::ColorTable::GetColorEntryAsRGB | ( | scalar | i | ) |
i |
scalar Geo::GDAL::ColorTable::GetCount | ( | ) |
scalar Geo::GDAL::ColorTable::GetPaletteInterpretation | ( | ) |
Geo::GDAL::ColorTable Geo::GDAL::ColorTable::new | ( | scalar | GDALPaletteInterp = scalar Geo::GDAL::Const::GPI_RGB |
) |
Geo::GDAL::ColorTable::SetColorEntry | ( | scalar | index, | |
list | ColorEntry | |||
) |
index | ||
ColorEntry | a list or a reference to an array |