Package mapnik :: Module _mapnik :: Class Style

Class Style

 object --+    
          |    
??.instance --+
              |
             Style

Instance Methods
 
__init__(...)
__init__( (object)arg1) -> None : default style constructor
 
__reduce__(...)
helper for pickle

Inherited from unreachable.instance: __new__

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

Class Variables
  __instance_size__ = 112
Properties
  comp_op
Set/get the comp-op (composite operation) of the style
  filter_mode
Set/get the filter mode of the style
  image_filters
Set/get the comp-op (composite operation) of the style
  opacity
Set/get the opacity of the style
  rules
List of rules belonging to a style as rule objects.

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

__init__( (object)arg1) -> None :
    default style constructor

    C++ signature :
        void __init__(_object*)

Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

Property Details

comp_op

Set/get the comp-op (composite operation) of the style

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

filter_mode

Set/get the filter mode of the style

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

image_filters

Set/get the comp-op (composite operation) of the style

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

opacity

Set/get the opacity of the style

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

rules

List of rules belonging to a style as rule objects.

Usage: >>> for r in m.find_style('style 1').rules: >>> print r <mapnik._mapnik.Rule object at 0x100549910> <mapnik._mapnik.Rule object at 0x100549980>

Get Method:
unreachable(...)