/usr/share/gtk-doc/html/pygoocanvas/class-canvas-misc.html is in python-pygoocanvas 0.14.1-1.1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>Miscellaneous Items</title><link rel="stylesheet" type="text/css" href="style.css"><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="PyGooCanvas Reference Manual"><link rel="up" href="pygoocanvas-misc-items.html" title="PyGooCanvas Miscellaneous Items Reference"><link rel="prev" href="pygoocanvas-misc-items.html" title="PyGooCanvas Miscellaneous Items Reference"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Miscellaneous Items</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pygoocanvas-misc-items.html">Prev</a> </td><th width="60%" align="center">PyGooCanvas Miscellaneous Items Reference</th><td width="20%" align="right"> </td></tr></table><hr></div><div class="refentry"><a name="class-canvas-misc"></a><div class="titlepage"></div><div class="refnamediv"><h2>Miscellaneous Items</h2><p>Miscellaneous Items — Miscellaneous items.</p></div><div class="refsect1"><a name="idp46888209671552"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">goocanvas.Bounds</span></span>:
<code class="constructorsynopsis"> <span class="methodname">goocanvas.Bounds</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>coords</code></strong></span><span class="initializer">=None</span></span>)</code><br></pre></td></tr></table></div><div class="refsect1"><a name="idp46888209664928"></a><h2>Ancestry</h2><pre class="synopsis">+-- goocanvas.Bounds
</pre></div><div class="refsect1"><a name="attributes-goocanvasbounds"></a><h2>goocanvas.Bounds Attributes</h2><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table width="100%" border="0"><colgroup><col width="1in"><col width="1in"><col width="3.5in"></colgroup><tbody><tr valign="top"><td valign="top">"x1"</td><td valign="top">Read/Write</td><td valign="top">The left edge.</td></tr><tr valign="top"><td valign="top">"y1"</td><td valign="top">Read/Write</td><td valign="top">The top edge.</td></tr><tr valign="top"><td valign="top">"x2"</td><td valign="top">Read/Write</td><td valign="top">The right edge.</td></tr><tr valign="top"><td valign="top">"y2"</td><td valign="top">Read/Write</td><td valign="top">The bottom edge.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1"><a name="idp46888208730112"></a><h2>Description</h2><code class="classname">goocanvas.Bounds</code>
represents the bounding box of an item in the canvas.
</div><div class="refsect1"><a name="constructor-canvas-bounds"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis"> <span class="methodname">goocanvas.Bounds</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>coords</code></strong></span><span class="initializer">=None</span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>coords</code></strong>:</span></p></td><td>The four coords of the bounding box</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>:</span></p></td><td>A new
<code class="classname">goocanvas.Bounds</code>
</td></tr></tbody></table><p>
Creates a new canvas bounds item.
</p><p>
Here's an example showing how to create bounds at (100.0, 100.0, 200.0, 200.0).
</p><pre class="programlisting">
bounds = goocanvas.Bounds(100.0, 100.0, 200.0, 200.0)
</pre></div><div class="refsect1"><a name="idp46888210689312"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">goocanvas.Points</span></span>:
<code class="constructorsynopsis"> <span class="methodname">goocanvas.Points</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>points</code></strong></span><span class="initializer">=None</span></span>)</code><br></pre></td></tr></table></div><div class="refsect1"><a name="idp46888208307936"></a><h2>Ancestry</h2><pre class="synopsis">+-- goocanvas.Points
</pre></div><div class="refsect1"><a name="attributes-goocanvaspoints"></a><h2>goocanvas.Points Attributes</h2><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table width="100%" border="0"><colgroup><col width="1in"><col width="1in"><col width="3.5in"></colgroup><tbody><tr valign="top"><td valign="top">"coords"</td><td valign="top">Read</td><td valign="top">The coordinates of the points, as a list of tuples.</td></tr><tr valign="top"><td valign="top">"num_points"</td><td valign="top">Read</td><td valign="top">The number of points.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1"><a name="idp46888208698896"></a><h2>Description</h2><code class="classname">goocanvas.Points</code>
represents an array of points.
</div><div class="refsect1"><a name="constructor-canvas-points"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis"> <span class="methodname">goocanvas.Points</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>points</code></strong></span><span class="initializer">=None</span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>points</code></strong>:</span></p></td><td>A list of tuples containing the coords pair.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>:</span></p></td><td>A new
<code class="classname">goocanvas.Points</code>
</td></tr></tbody></table><p>
Creates a new canvas points item.
</p><p>
Here's an example showing how to create points.
</p><pre class="programlisting">
points = goocanvas.Points([(100.0, 100.0), (200.0, 200.0)])
</pre></div><div class="refsect1"><a name="idp46888208667440"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">goocanvas.LineDash</span></span>:
<code class="constructorsynopsis"> <span class="methodname">goocanvas.LineDash</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>data</code></strong></span><span class="initializer">=None</span></span>)</code><br></pre></td></tr></table></div><div class="refsect1"><a name="idp46888208243376"></a><h2>Ancestry</h2><pre class="synopsis">+-- goocanvas.LineDash
</pre></div><div class="refsect1"><a name="idp46888208740992"></a><h2>Description</h2><code class="classname">goocanvas.LineDash</code>
specifies a dash pattern to be used when drawing items.
</div><div class="refsect1"><a name="constructor-canvas-linedash"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis"> <span class="methodname">goocanvas.LineDash</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>data</code></strong></span><span class="initializer">=None</span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>data</code></strong>:</span></p></td><td>A list of line/space pairs.</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span>:</span></p></td><td>A new
<code class="classname">goocanvas.LineDash</code>
</td></tr></tbody></table><p>
Creates a new canvas linedash item.
</p><p>
Here's an example showing how to create linedash.
</p><pre class="programlisting">
linedash = goocanvas.LineDash([5.0, 10.0, 20.0, 10.0, 5.0])
</pre></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="pygoocanvas-misc-items.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="pygoocanvas-misc-items.html">Up</a></td><td width="40%" align="right"> </td></tr><tr><td width="40%" align="left" valign="top">PyGooCanvas Miscellaneous Items Reference </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></body></html>
|