2009-04-01 03:17:32 +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.vertical_alignment</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 vertical_alignment
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<table cellpadding="0" cellspacing="0">
|
|
|
|
<!-- hide/show private -->
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
<!-- ==================== CLASS DESCRIPTION ==================== -->
|
|
|
|
<h1 class="epydoc">Class vertical_alignment</h1><p class="nomargin-top"></p>
|
|
|
|
<pre class="base-tree">
|
|
|
|
object --+
|
|
|
|
|
|
|
|
|
int --+
|
|
|
|
|
|
|
|
|
??.enum --+
|
|
|
|
|
|
|
|
|
<strong class="uidshort">vertical_alignment</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="BOTTOM"></a><span class="summary-name">BOTTOM</span> = <code title="mapnik._mapnik.vertical_alignment.BOTTOM">mapnik._mapnik.vertical_alignment.BOTTOM</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
|
|
<span class="summary-type"> </span>
|
|
|
|
</td><td class="summary">
|
|
|
|
<a name="MIDDLE"></a><span class="summary-name">MIDDLE</span> = <code title="mapnik._mapnik.vertical_alignment.MIDDLE">mapnik._mapnik.vertical_alignment.MIDDLE</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
|
|
<span class="summary-type"> </span>
|
|
|
|
</td><td class="summary">
|
|
|
|
<a name="TOP"></a><span class="summary-name">TOP</span> = <code title="mapnik._mapnik.vertical_alignment.TOP">mapnik._mapnik.vertical_alignment.TOP</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
|
|
<span class="summary-type"> </span>
|
|
|
|
</td><td class="summary">
|
|
|
|
<a name="bottom"></a><span class="summary-name">bottom</span> = <code title="mapnik._mapnik.vertical_alignment.bottom">mapnik._mapnik.vertical_alignment.bottom</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
|
|
<span class="summary-type"> </span>
|
|
|
|
</td><td class="summary">
|
|
|
|
<a name="middle"></a><span class="summary-name">middle</span> = <code title="mapnik._mapnik.vertical_alignment.middle">mapnik._mapnik.vertical_alignment.middle</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td width="15%" align="right" valign="top" class="summary">
|
|
|
|
<span class="summary-type"> </span>
|
|
|
|
</td><td class="summary">
|
|
|
|
<a name="top"></a><span class="summary-name">top</span> = <code title="mapnik._mapnik.vertical_alignment.top">mapnik._mapnik.vertical_alignment.top</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.vertical_alignment-class.html#values" class="summary-name">values</a> = <code title="{0: mapnik._mapnik.vertical_alignment.TOP,
|
|
|
|
1: mapnik._mapnik.vertical_alignment.MIDDLE,
|
|
|
|
2: mapnik._mapnik.vertical_alignment.BOTTOM}"><code class="variable-group">{</code>0<code class="variable-op">: </code>mapnik._mapnik.vertical_alignment.TOP<code class="variable-op">, </code>1<code class="variable-op">: </code>mapnik.<code class="variable-ellipsis">...</code></code>
|
|
|
|
</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.vertical_alignment.TOP<code class="variable-op">,</code>
|
|
|
|
1<code class="variable-op">: </code>mapnik._mapnik.vertical_alignment.MIDDLE<code class="variable-op">,</code>
|
|
|
|
2<code class="variable-op">: </code>mapnik._mapnik.vertical_alignment.BOTTOM<code class="variable-group">}</code>
|
|
|
|
</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-04-01 03:17:32 +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>
|