add_stop( (RasterColorizer)arg1, (ColorizerStop)ColorizerStop) -> None :
Add a colorizer stop to the raster colorizer.
Usage:
>>> colorizer = mapnik.RasterColorizer()
>>> color = mapnik.Color("#0044cc")
>>> stop = mapnik.ColorizerStop(3, mapnik.COLORIZER_INHERIT, color)
>>> colorizer.add_stop(stop)
C++ signature :
void add_stop(boost::shared_ptr<mapnik::raster_colorizer> {lvalue},mapnik::colorizer_stop {lvalue})
add_stop( (RasterColorizer)arg1, (float)value) -> None :
Add a colorizer stop to the raster colorizer, using the default mode and color.
Usage:
>>> default_color = mapnik.Color("#0044cc")
>>> colorizer = mapnik.RasterColorizer(mapnik.COLORIZER_LINEAR, default_color)
>>> colorizer.add_stop(100)
C++ signature :
void add_stop(boost::shared_ptr<mapnik::raster_colorizer> {lvalue},float)
add_stop( (RasterColorizer)arg1, (float)arg2, (Color)value) -> None :
Add a colorizer stop to the raster colorizer, using the default mode.
Usage:
>>> default_color = mapnik.Color("#0044cc")
>>> colorizer = mapnik.RasterColorizer(mapnik.COLORIZER_LINEAR, default_color)
>>> colorizer.add_stop(100, mapnik.Color("#123456"))
C++ signature :
void add_stop(boost::shared_ptr<mapnik::raster_colorizer> {lvalue},float,mapnik::color)
add_stop( (RasterColorizer)arg1, (float)arg2, (ColorizerMode)value) -> None :
Add a colorizer stop to the raster colorizer, using the default color.
Usage:
>>> default_color = mapnik.Color("#0044cc")
>>> colorizer = mapnik.RasterColorizer(mapnik.COLORIZER_LINEAR, default_color)
>>> colorizer.add_stop(100, mapnik.COLORIZER_EXACT)
C++ signature :
void add_stop(boost::shared_ptr<mapnik::raster_colorizer> {lvalue},float,mapnik::colorizer_mode_enum)
add_stop( (RasterColorizer)arg1, (float)arg2, (ColorizerMode)arg3, (Color)value) -> None :
Add a colorizer stop to the raster colorizer.
Usage:
>>> default_color = mapnik.Color("#0044cc")
>>> colorizer = mapnik.RasterColorizer(mapnik.COLORIZER_LINEAR, default_color)
>>> colorizer.add_stop(100, mapnik.COLORIZER_DISCRETE, mapnik.Color("#112233"))
C++ signature :
void add_stop(boost::shared_ptr<mapnik::raster_colorizer> {lvalue},float,mapnik::colorizer_mode_enum,mapnik::color)
|