Package mapnik :: Module _mapnik :: Class Color

Class Color

 object --+    
          |    
??.instance --+
              |
             Color

Instance Methods
 
__eq__(...)
__eq__( (Color)arg1, (Color)arg2) -> object :
 
__getinitargs__(...)
__getinitargs__( (Color)arg1) -> tuple :
 
__init__(...)
__init__( (object)arg1, (int)arg2, (int)arg3, (int)arg4 [, (int)arg5]) -> None :
 
__reduce__(...)
helper for pickle
 
__str__(...)
__str__( (Color)arg1) -> str :
 
to_hex_string(...)
to_hex_string( (Color)arg1) -> str :

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce_ex__, __repr__, __setattr__

Class Variables
  __instance_size__ = 12
  __safe_for_unpickling__ = True
Properties
  a
  b
  g
  r

Inherited from object: __class__

Method Details

__eq__(...)
(Equality operator)

 

__eq__( (Color)arg1, (Color)arg2) -> object :

    C++ signature :
        _object* __eq__(mapnik::color {lvalue},mapnik::color)

__getinitargs__(...)

 

__getinitargs__( (Color)arg1) -> tuple :

    C++ signature :
        boost::python::tuple __getinitargs__(mapnik::color)

__init__(...)
(Constructor)

 

__init__( (object)arg1, (int)arg2, (int)arg3, (int)arg4 [, (int)arg5]) -> None :

    C++ signature :
        void __init__(_object*,int,int,int [,int])

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

    C++ signature :
        void __init__(_object*,std::string)

Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

__str__(...)
(Informal representation operator)

 

__str__( (Color)arg1) -> str :

    C++ signature :
        std::string __str__(mapnik::color {lvalue})

Overrides: object.__str__

to_hex_string(...)

 

to_hex_string( (Color)arg1) -> str :

    C++ signature :
        std::string to_hex_string(mapnik::color {lvalue})


Property Details

a

Get Method:
unreachable(...)
Set Method:
unreachable(...)

b

Get Method:
unreachable(...)
Set Method:
unreachable(...)

g

Get Method:
unreachable(...)
Set Method:
unreachable(...)

r

Get Method:
unreachable(...)
Set Method:
unreachable(...)