This file is indexed.

/usr/share/gtk-doc/html/pygoocanvas/class-canvas-path-model.html is in python-pygoocanvas 0.14.1-1ubuntu6.

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
38
39
40
41
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>goocanvas.PathModel</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-model-items.html" title="PyGooCanvas Canvas Item Models Reference"><link rel="prev" href="class-canvas-image-model.html" title="goocanvas.ImageModel"><link rel="next" href="class-canvas-polyline-model.html" title="goocanvas.PolylineModel"></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.PathModel</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-canvas-image-model.html">Prev</a> </td><th width="60%" align="center">PyGooCanvas Canvas Item Models Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-canvas-polyline-model.html">Next</a></td></tr></table><hr></div><div class="refentry" title="goocanvas.PathModel"><a name="class-canvas-path-model"></a><div class="titlepage"></div><div class="refnamediv"><h2>goocanvas.PathModel</h2><p>goocanvas.PathModel — A model for path items.</p></div><div class="refsect1" title="Synopsis"><a name="idp3093296"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">goocanvas.PathModel</span></span>(<span class="ooclass"><span class="classname">goocanvas.ItemModelModelSimple</span></span>):
<code class="constructorsynopsis">    <span class="methodname">goocanvas.PathModel</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="idp3098800"></a><h2>Ancestry</h2><pre class="synopsis">+-- <a
href="../pygobject/class-gobject.html"
>gobject.GObject</a>
	+-- goocanvas.ItemModelModelSimple
		+-- goocanvas.PathModel
</pre></div><div class="refsect1" title="goocanvas.PathModel Properties"><a name="properties-goocanvaspath"></a><h2>goocanvas.PathModel 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">"data"</td><td valign="top">Write</td><td valign="top">The sequence of path commands, specified as a string using the same syntax as in the 
								<a class="ulink" href="http://www.w3.org/Graphics/SVG/" target="_top">Scalable Vector Graphics (SVG)</a>
								path element. Default value: NULL.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="Implemented Interfaces"><a name="idp3111840"></a><h2>Implemented Interfaces</h2><p>
			<code class="classname">goocanvas.PathModel</code>
			implements 
			<code class="classname">goocanvas.ItemModel</code>
		</p></div><div class="refsect1" title="Description"><a name="idp3114880"></a><h2>Description</h2><code class="classname">goocanvas.PathModel</code> 
			represents a path item, which is a series of one or more lines, bezier curves, or elliptical arcs. 

			It is a subclass of 
			<code class="classname">goocanvas.ItemModelModelSimple</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.ItemModel</code> 
			interface, so you can use the <code class="classname">goocanvas.ItemModel</code> 
			functions such as <code class="methodname">goocanvas.ItemModel.raise_()</code> 
			and <code class="methodname">goocanvas.ItemModel.rotate()</code><code class="classname">goocanvas.PathModel</code> uses the same path specification strings 
			as the Scalable Vector Graphics (SVG) path element. For details see the 
			<a class="ulink" href="http://www.w3.org/Graphics/SVG/" target="_top">SVG Specification</a></div><div class="refsect1" title="Constructor"><a name="constructor-canvas-path-model"></a><h2>Constructor</h2><pre class="programlisting"><code class="constructorsynopsis">    <span class="methodname">goocanvas.PathModel</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.PathModel</code>
					</td></tr></tbody></table><p>
			Creates a new canvas path model item.
		</p><p>
			Here's an example showing how to create a red line from (20,20) to (40,40):
		</p><pre class="programlisting">
	path = goocanvas.PathModel(data="M 20 20 L 40 40", stroke_color="red")
</pre><p>
			This example creates a cubic bezier curve from (20,100) to (100,100) with the control points at (20,50) and (100,50):
		</p><pre class="programlisting">
	path = goocanvas.PathModel(data="M20,100 C20,50 100,50 100,100", stroke_color="blue")
</pre><p>
			This example uses an elliptical arc to create a filled circle with one quarter missing:
		</p><pre class="programlisting">
	path = goocanvas.PathModel(data="M200,500 h-150 a150,150 0 1,0 150,-150 z", fill_color="red", stroke_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-image-model.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="pygoocanvas-model-items.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-canvas-polyline-model.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">goocanvas.ImageModel </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> goocanvas.PolylineModel</td></tr></table></div></body></html>