Package mapnik :: Module _mapnik :: Class RasterSymbolizer

Class RasterSymbolizer

 object --+    
          |    
??.instance --+
              |
             RasterSymbolizer

Instance Methods
 
__getstate__(...)
__getstate__( (RasterSymbolizer)arg1) -> tuple :
 
__init__(...)
__init__( (object)arg1) -> None : Default ctor
 
__reduce__(...)
helper for pickle
 
__setstate__(...)
__setstate__( (RasterSymbolizer)arg1, (tuple)arg2) -> None :

Inherited from unreachable.instance: __new__

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

Class Variables
  __instance_size__ = 20
  __safe_for_unpickling__ = True
Properties
  mode
Get/Set merging mode.
  opacity
Get/Set opacity.
  scaling
Get/Set scaling algorithm.

Inherited from object: __class__

Method Details

__getstate__(...)

 

__getstate__( (RasterSymbolizer)arg1) -> tuple :

    C++ signature :
        boost::python::tuple __getstate__(mapnik::raster_symbolizer)

__init__(...)
(Constructor)

 

__init__( (object)arg1) -> None :
    Default ctor

    C++ signature :
        void __init__(_object*)

Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

__setstate__(...)

 

__setstate__( (RasterSymbolizer)arg1, (tuple)arg2) -> None :

    C++ signature :
        void __setstate__(mapnik::raster_symbolizer {lvalue},boost::python::tuple)


Property Details

mode

Get/Set merging mode. Possible values are: normal, grain_merge, grain_merge2, multiply, multiply2, divide, divide2, screen, and hard_light

Usage:

>>> from mapnik import RasterSymbolizer
>>> r = RasterSymbolizer()
>>> r.mode = 'grain_merge2'
Get Method:
unreachable(...)
Set Method:
unreachable(...)

opacity

Get/Set opacity.

Usage:

>>> from mapnik import RasterSymbolizer
>>> r = RasterSymbolizer()
>>> r.opacity = .5
Get Method:
unreachable(...)
Set Method:
unreachable(...)

scaling

Get/Set scaling algorithm. Possible values are: fast, bilinear, and bilinear8

Usage:

>>> from mapnik import RasterSymbolizer
>>> r = RasterSymbolizer()
>>> r.scaling = 'bilinear8'
Get Method:
unreachable(...)
Set Method:
unreachable(...)