Package mapnik :: Module _mapnik :: Class GlyphSymbolizer

Class GlyphSymbolizer

 object --+    
          |    
??.instance --+
              |
             GlyphSymbolizer

Instance Methods
 
__init__(...)
__init__( (object)arg1, (str)arg2, (Expression)arg3) -> None :
 
__reduce__(...)
helper for pickle
 
symbol(self)

Inherited from unreachable.instance: __new__

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

Class Variables
  __instance_size__ = 280
Properties
  allow_overlap
Get/Set the flag which controls if glyphs should overlap any symbols previously rendered
  angle
Get/Set the angle expression used to rotate the glyph along its center.
  angle_mode
Get/Set the angle_mode property.
  avoid_edges
Get/Set the flag which controls if glyphs should be partially drawn beside the edge of a tile.
  char
Get/Set the char expression.
  color
Get/Set the color expression used to color the glyph.
  colorizer
Get/Set the RasterColorizer used to color the glyph depending on the 'value' expression (which must be defined).
  displacement
  face_name
Get/Set the name of the font face (eg:"DejaVu Sans Book") which contains the glyph
  halo_fill
  halo_radius
  size
Get/Set the size expression used to size the glyph.
  value
Get/set the value expression which will be used to retrieve a a value for the colorizer to use to choose a color.

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

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

    C++ signature :
        void __init__(_object*,std::string,boost::shared_ptr<boost::variant<mapnik::value, mapnik::attribute, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::plus> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::minus> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::mult> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::div> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::mod> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::less> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::less_equal> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::greater> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::greater_equal> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::equal_to> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::not_equal_to> >, boost::recursive_wrapper<mapnik::unary_node<mapnik::tags::logical_not> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::logical_and> >, boost::recursive_wrapper<mapnik::binary_node<mapnik::tags::logical_or> >, boost::recursive_wrapper<mapnik::regex_match_node>, boost::recursive_wrapper<mapnik::regex_replace_node>, boost::detail::variant::void_, boost::detail::variant::void_> >)

Overrides: object.__init__

__reduce__(...)

 

helper for pickle

Overrides: object.__reduce__
(inherited documentation)

Property Details

allow_overlap

Get/Set the flag which controls if glyphs should overlap any symbols previously rendered

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

angle

Get/Set the angle expression used to rotate the glyph along its center.

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

angle_mode

Get/Set the angle_mode property. This controls how the angle is interpreted. Valid values are AZIMUTH and TRIGONOMETRIC.

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

avoid_edges

Get/Set the flag which controls if glyphs should be partially drawn beside the edge of a tile.

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

char

Get/Set the char expression. The char is the unicode character indexing the glyph in the font referred by face_name.

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

color

Get/Set the color expression used to color the glyph. (See also the 'colorizer' attribute)

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

colorizer

Get/Set the RasterColorizer used to color the glyph depending on the 'value' expression (which must be defined). Only needed if no explicit color is provided

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

displacement

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

face_name

Get/Set the name of the font face (eg:"DejaVu Sans Book") which contains the glyph

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

halo_fill

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

halo_radius

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

size

Get/Set the size expression used to size the glyph.

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

value

Get/set the value expression which will be used to retrieve a a value for the colorizer to use to choose a color.

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