This file is indexed.

/usr/share/gtk-doc/html/pygoocanvas/class-canvas-rect.html is in python-pygoocanvas 0.14.1-1ubuntu8.

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
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>goocanvas.Rect</title><link rel="stylesheet" type="text/css" href="style.css"><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="PyGooCanvas Reference Manual"><link rel="up" href="pygoocanvas-std-items.html" title="PyGooCanvas Standard Canvas Items Reference"><link rel="prev" href="class-canvas-polyline.html" title="goocanvas.Polyline"><link rel="next" href="class-canvas-text.html" title="goocanvas.Text"></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">goocanvas.Rect</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-canvas-polyline.html">Prev</a> </td><th width="60%" align="center">PyGooCanvas Standard Canvas Items Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-canvas-text.html">Next</a></td></tr></table><hr></div><div class="refentry" title="goocanvas.Rect"><a name="class-canvas-rect"></a><div class="titlepage"></div><div class="refnamediv"><h2>goocanvas.Rect</h2><p>goocanvas.Rect — A rectangle item.</p></div><div class="refsect1" title="Synopsis"><a name="idp998064"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">goocanvas.Rect</span></span>(<span class="ooclass"><span class="classname">goocanvas.ItemSimple</span></span>):
<code class="constructorsynopsis">    <span class="methodname">goocanvas.Rect</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>properties</code></strong></span><span class="initializer">=None</span></span>)</code><br></pre></td></tr></table></div><div class="refsect1" title="Ancestry"><a name="idp1003536"></a><h2>Ancestry</h2><pre class="synopsis">+-- <a
href="../pygobject/class-gobject.html"
>gobject.GObject</a>
	+-- goocanvas.ItemSimple
		+-- goocanvas.Rect
</pre></div><div class="refsect1" title="goocanvas.Rect Properties"><a name="properties-goocanvasrect"></a><h2>goocanvas.Rect Properties</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">"height"</td><td valign="top">Read/Write</td><td valign="top">The height of the rectangle. Allowed values: &gt;= 0. Default value: 0.</td></tr><tr valign="top"><td valign="top">"radius_x"</td><td valign="top">Read/Write</td><td valign="top">The horizontal radius to use for rounded corners. Allowed values: &gt;= 0. Default value: 0.</td></tr><tr valign="top"><td valign="top">"radius_y"</td><td valign="top">Read/Write</td><td valign="top">The vertical radius to use for rounded corners. Allowed values: &gt;= 0. Default value: 0.</td></tr><tr valign="top"><td valign="top">"width"</td><td valign="top">Read/Write</td><td valign="top">The width of the rectangle. Allowed values: &gt;= 0. Default value: 0.</td></tr><tr valign="top"><td valign="top">"x"</td><td valign="top">Read/Write</td><td valign="top">The x coordinate of the rectangle. Default value: 0.</td></tr><tr valign="top"><td valign="top">"y"</td><td valign="top">Read/Write</td><td valign="top">The y coordinate of the rectangle. Default value: 0.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="Implemented Interfaces"><a name="idp1026320"></a><h2>Implemented Interfaces</h2><p>
			<code class="classname">goocanvas.Rect</code>
			implements 
			<code class="classname">goocanvas.Item</code>
		</p></div><div class="refsect1" title="Description"><a name="idp1029360"></a><h2>Description</h2><code class="classname">goocanvas.Rect</code> 
			represents a rectangle item. It is a subclass of 
			<code class="classname">goocanvas.ItemSimple</code> 
			and so inherits all of the style properties such as "stroke-color", "fill-color" and "line-width". 
			It also implements the <code class="classname">goocanvas.Item</code> 
			interface, so you can use the <code class="classname">goocanvas.Item</code> 
			functions such as <code class="methodname">goocanvas.Item.raise_()</code> 
			and <code class="methodname">goocanvas.Item.rotate()</code></div><div class="refsect1" title="Constructor"><a name="constructor-canvas-rect"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">goocanvas.Rect</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>properties</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>properties</code></strong>:</span></p></td><td>A comma separated list of properties.</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.Rect</code>
					</td></tr></tbody></table><p>
			Creates a new canvas rect item.
		</p><p>
			Here's an example showing how to create a rectangle at (100,100)
			with a width of 200 and a height of 100.
		</p><pre class="programlisting">
rect = goocanvas.Rect(x=100, y=100, width=200, height=100,
				stroke_color="red", fill_color="blue",
				line_width=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="class-canvas-polyline.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="pygoocanvas-std-items.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-canvas-text.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">goocanvas.Polyline </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> goocanvas.Text</td></tr></table></div></body></html>