Package mapnik :: Module _mapnik :: Class Palette

Class Palette

 object --+    
          |    
??.instance --+
              |
             Palette

Instance Methods
 
__init__(...)
__init__( (object)arg1, (str)arg2, (str)arg3) -> object :
 
__reduce__(...)
helper for pickle
 
to_string(...)
to_string( (Palette)arg1) -> str : Returns the palette as a string.

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

__init__( (object)arg1, (str)arg2, (str)arg3) -> object :

    C++ signature :
        void* __init__(boost::python::api::object,std::string,std::string)

Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

to_string(...)

 

to_string( (Palette)arg1) -> str :
    Returns the palette as a string.
    

    C++ signature :
        std::string to_string(mapnik::rgba_palette {lvalue})