2009-03-30 07:20:00 +02:00
|
|
|
<?xml version="1.0" encoding="ascii"?>
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
|
|
"DTD/xhtml1-transitional.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
|
|
<head>
|
|
|
|
<title>mapnik._mapnik.label_placement</title>
|
|
|
|
<link rel="stylesheet" href="epydoc.css" type="text/css" />
|
|
|
|
<script type="text/javascript" src="epydoc.js"></script>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body bgcolor="white" text="black" link="blue" vlink="#204080"
|
|
|
|
alink="#204080">
|
|
|
|
<!-- ==================== NAVIGATION BAR ==================== -->
|
|
|
|
<table class="navbar" border="0" width="100%" cellpadding="0"
|
|
|
|
bgcolor="#a0c0ff" cellspacing="0">
|
|
|
|
<tr valign="middle">
|
|
|
|
<!-- Home link -->
|
|
|
|
<th> <a
|
|
|
|
href="mapnik-module.html">Home</a> </th>
|
|
|
|
|
|
|
|
<!-- Tree link -->
|
|
|
|
<th> <a
|
|
|
|
href="module-tree.html">Trees</a> </th>
|
|
|
|
|
|
|
|
<!-- Index link -->
|
|
|
|
<th> <a
|
|
|
|
href="identifier-index.html">Indices</a> </th>
|
|
|
|
|
|
|
|
<!-- Help link -->
|
|
|
|
<th> <a
|
|
|
|
href="help.html">Help</a> </th>
|
|
|
|
|
|
|
|
<!-- Project homepage -->
|
|
|
|
<th class="navbar" align="right" width="100%">
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
|
|
<tr><th class="navbar" align="center"
|
|
|
|
><a class="navbar" target="_top" href="http://mapnik.org">mapnik</a></th>
|
|
|
|
</tr></table></th>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table width="100%" cellpadding="0" cellspacing="0">
|
|
|
|
<tr valign="top">
|
|
|
|
<td width="100%">
|
|
|
|
<span class="breadcrumbs">
|
|
|
|
<a href="mapnik-module.html">Package mapnik</a> ::
|
|
|
|
<a href="mapnik._mapnik-module.html" onclick="show_private();">Module _mapnik</a> ::
|
|
|
|
Class label_placement
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<table cellpadding="0" cellspacing="0">
|
|
|
|
<!-- hide/show private -->
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<!-- ==================== CLASS DESCRIPTION ==================== -->
|
|
|
|
<h1 class="epydoc">Class label_placement</h1><p class="nomargin-top"></p>
|
|
|
|
<pre class="base-tree">
|
|
|
|
object --+
|
|
|
|
|
|
|
|
|
int --+
|
|
|
|
|
|
|
|
|
??.enum --+
|
|
|
|
|
|
|
|
|
<strong class="uidshort">label_placement</strong>
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
<!-- ==================== INSTANCE METHODS ==================== -->
|
|
|
|
<a name="section-InstanceMethods"></a>
|
|
|
|
<table class="summary" border="1" cellpadding="3"
|
|
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
|
|
<td align="left" colspan="2" class="table-header">
|
|
|
|
<span class="table-header">Instance Methods</span></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="2" class="summary">
|
|
|
|
<p class="indent-wrapped-lines"><b>Inherited from <code><i>unreachable</i>.enum</code></b>:
|
|
|
|
<code>__repr__</code>,
|
|
|
|
<code>__str__</code>
|
|
|
|
</p>
|
|
|
|
<p class="indent-wrapped-lines"><b>Inherited from <code>int</code></b>:
|
|
|
|
<code>__abs__</code>,
|
|
|
|
<code>__add__</code>,
|
|
|
|
<code>__and__</code>,
|
|
|
|
<code>__cmp__</code>,
|
|
|
|
<code>__coerce__</code>,
|
|
|
|
<code>__div__</code>,
|
|
|
|
<code>__divmod__</code>,
|
|
|
|
<code>__float__</code>,
|
|
|
|
<code>__floordiv__</code>,
|
|
|
|
<code>__getattribute__</code>,
|
|
|
|
<code>__getnewargs__</code>,
|
|
|
|
<code>__hash__</code>,
|
|
|
|
<code>__hex__</code>,
|
|
|
|
<code>__index__</code>,
|
|
|
|
<code>__int__</code>,
|
|
|
|
<code>__invert__</code>,
|
|
|
|
<code>__long__</code>,
|
|
|
|
<code>__lshift__</code>,
|
|
|
|
<code>__mod__</code>,
|
|
|
|
<code>__mul__</code>,
|
|
|
|
<code>__neg__</code>,
|
|
|
|
<code>__new__</code>,
|
|
|
|
<code>__nonzero__</code>,
|
|
|
|
<code>__oct__</code>,
|
|
|
|
<code>__or__</code>,
|
|
|
|
<code>__pos__</code>,
|
|
|
|
<code>__pow__</code>,
|
|
|
|
<code>__radd__</code>,
|
|
|
|
<code>__rand__</code>,
|
|
|
|
<code>__rdiv__</code>,
|
|
|
|
<code>__rdivmod__</code>,
|
|
|
|
<code>__rfloordiv__</code>,
|
|
|
|
<code>__rlshift__</code>,
|
|
|
|
<code>__rmod__</code>,
|
|
|
|
<code>__rmul__</code>,
|
|
|
|
<code>__ror__</code>,
|
|
|
|
<code>__rpow__</code>,
|
|
|
|
<code>__rrshift__</code>,
|
|
|
|
<code>__rshift__</code>,
|
|
|
|
<code>__rsub__</code>,
|
|
|
|
<code>__rtruediv__</code>,
|
|
|
|
<code>__rxor__</code>,
|
|
|
|
<code>__sub__</code>,
|
|
|
|
<code>__truediv__</code>,
|
|
|
|
<code>__xor__</code>
|
|
|
|
</p>
|
|
|
|
<p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
|
|
|
|
<code>__delattr__</code>,
|
|
|
|
<code>__init__</code>,
|
|
|
|
<code>__reduce__</code>,
|
|
|
|
<code>__reduce_ex__</code>,
|
|
|
|
<code>__setattr__</code>
|
|
|
|
</p>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<!-- ==================== CLASS VARIABLES ==================== -->
|
|
|
|
<a name="section-ClassVariables"></a>
|
|
|
|
<table class="summary" border="1" cellpadding="3"
|
|
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
|
|
<td align="left" colspan="2" class="table-header">
|
|
|
|
<span class="table-header">Class Variables</span></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
|
|
<span class="summary-type"> </span>
|
|
|
|
</td><td class="summary">
|
|
|
|
<a name="LINE_PLACEMENT"></a><span class="summary-name">LINE_PLACEMENT</span> = <code title="mapnik._mapnik.label_placement.LINE_PLACEMENT">mapnik._mapnik.label_placement.LINE_PLACEMENT</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
|
|
<span class="summary-type"> </span>
|
|
|
|
</td><td class="summary">
|
|
|
|
<a name="POINT_PLACEMENT"></a><span class="summary-name">POINT_PLACEMENT</span> = <code title="mapnik._mapnik.label_placement.POINT_PLACEMENT">mapnik._mapnik.label_placement.POINT_PLACEMENT</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
|
|
<span class="summary-type"> </span>
|
|
|
|
</td><td class="summary">
|
|
|
|
<a name="line"></a><span class="summary-name">line</span> = <code title="mapnik._mapnik.label_placement.line">mapnik._mapnik.label_placement.line</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
|
|
<span class="summary-type"> </span>
|
|
|
|
</td><td class="summary">
|
|
|
|
<a name="point"></a><span class="summary-name">point</span> = <code title="mapnik._mapnik.label_placement.point">mapnik._mapnik.label_placement.point</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
|
|
<span class="summary-type"> </span>
|
|
|
|
</td><td class="summary">
|
|
|
|
<a href="mapnik._mapnik.label_placement-class.html#values" class="summary-name">values</a> = <code title="{0: mapnik._mapnik.label_placement.POINT_PLACEMENT,
|
2009-11-08 18:02:17 +01:00
|
|
|
1: mapnik._mapnik.label_placement.LINE_PLACEMENT,
|
|
|
|
2: mapnik._mapnik.label_placement.vertex}"><code class="variable-group">{</code>0<code class="variable-op">: </code>mapnik._mapnik.label_placement.POINT_PLACEMENT<code class="variable-op">, </code>1<code class="variable-ellipsis">...</code></code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
|
|
<span class="summary-type"> </span>
|
|
|
|
</td><td class="summary">
|
|
|
|
<a name="vertex"></a><span class="summary-name">vertex</span> = <code title="mapnik._mapnik.label_placement.vertex">mapnik._mapnik.label_placement.vertex</code>
|
2009-03-30 07:20:00 +02:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<!-- ==================== PROPERTIES ==================== -->
|
|
|
|
<a name="section-Properties"></a>
|
|
|
|
<table class="summary" border="1" cellpadding="3"
|
|
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
|
|
<td align="left" colspan="2" class="table-header">
|
|
|
|
<span class="table-header">Properties</span></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="2" class="summary">
|
|
|
|
<p class="indent-wrapped-lines"><b>Inherited from <code><i>unreachable</i>.enum</code></b>:
|
|
|
|
<code>name</code>
|
|
|
|
</p>
|
|
|
|
<p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
|
|
|
|
<code>__class__</code>
|
|
|
|
</p>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<!-- ==================== CLASS VARIABLE DETAILS ==================== -->
|
|
|
|
<a name="section-ClassVariableDetails"></a>
|
|
|
|
<table class="details" border="1" cellpadding="3"
|
|
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
|
|
<tr bgcolor="#70b0f0" class="table-header">
|
|
|
|
<td align="left" colspan="2" class="table-header">
|
|
|
|
<span class="table-header">Class Variable Details</span></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<a name="values"></a>
|
|
|
|
<div>
|
|
|
|
<table class="details" border="1" cellpadding="3"
|
|
|
|
cellspacing="0" width="100%" bgcolor="white">
|
|
|
|
<tr><td>
|
|
|
|
<h3 class="epydoc">values</h3>
|
|
|
|
|
|
|
|
<dl class="fields">
|
|
|
|
</dl>
|
|
|
|
<dl class="fields">
|
|
|
|
<dt>Value:</dt>
|
|
|
|
<dd><table><tr><td><pre class="variable">
|
|
|
|
<code class="variable-group">{</code>0<code class="variable-op">: </code>mapnik._mapnik.label_placement.POINT_PLACEMENT<code class="variable-op">,</code>
|
2009-11-08 18:02:17 +01:00
|
|
|
1<code class="variable-op">: </code>mapnik._mapnik.label_placement.LINE_PLACEMENT<code class="variable-op">,</code>
|
|
|
|
2<code class="variable-op">: </code>mapnik._mapnik.label_placement.vertex<code class="variable-group">}</code>
|
2009-03-30 07:20:00 +02:00
|
|
|
</pre></td></tr></table>
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
</td></tr></table>
|
|
|
|
</div>
|
|
|
|
<br />
|
|
|
|
<!-- ==================== NAVIGATION BAR ==================== -->
|
|
|
|
<table class="navbar" border="0" width="100%" cellpadding="0"
|
|
|
|
bgcolor="#a0c0ff" cellspacing="0">
|
|
|
|
<tr valign="middle">
|
|
|
|
<!-- Home link -->
|
|
|
|
<th> <a
|
|
|
|
href="mapnik-module.html">Home</a> </th>
|
|
|
|
|
|
|
|
<!-- Tree link -->
|
|
|
|
<th> <a
|
|
|
|
href="module-tree.html">Trees</a> </th>
|
|
|
|
|
|
|
|
<!-- Index link -->
|
|
|
|
<th> <a
|
|
|
|
href="identifier-index.html">Indices</a> </th>
|
|
|
|
|
|
|
|
<!-- Help link -->
|
|
|
|
<th> <a
|
|
|
|
href="help.html">Help</a> </th>
|
|
|
|
|
|
|
|
<!-- Project homepage -->
|
|
|
|
<th class="navbar" align="right" width="100%">
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0">
|
|
|
|
<tr><th class="navbar" align="center"
|
|
|
|
><a class="navbar" target="_top" href="http://mapnik.org">mapnik</a></th>
|
|
|
|
</tr></table></th>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
|
|
|
|
<tr>
|
|
|
|
<td align="left" class="footer">
|
2009-11-08 18:02:17 +01:00
|
|
|
Generated by Epydoc 3.0.1 on Sun Nov 8 09:00:51 2009
|
2009-03-30 07:20:00 +02:00
|
|
|
</td>
|
|
|
|
<td align="right" class="footer">
|
|
|
|
<a target="mainFrame" href="http://epydoc.sourceforge.net"
|
|
|
|
>http://epydoc.sourceforge.net</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
<!--
|
|
|
|
// Private objects are initially displayed (because if
|
|
|
|
// javascript is turned off then we want them to be
|
|
|
|
// visible); but by default, we want to hide them. So hide
|
|
|
|
// them unless we have a cookie that says to show them.
|
|
|
|
checkCookie();
|
|
|
|
// -->
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|