Debian Codegraph @

docs/html/GooCanvasPolyline.html

raw
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>GooCanvasPolyline: GooCanvas Reference Manual</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7 <link rel="home" href="index.html" title="GooCanvas Reference Manual">
8 <link rel="up" href="ch03.html" title="Standard Canvas Items">
9 <link rel="prev" href="GooCanvasPath.html" title="GooCanvasPath">
10 <link rel="next" href="GooCanvasRect.html" title="GooCanvasRect">
11 <meta name="generator" content="GTK-Doc V1.26 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
13 </head>
14 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
16 <td width="100%" align="left" class="shortcuts">
17 <a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
18 <a href="#GooCanvasPolyline.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
19 <a href="#GooCanvasPolyline.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces">  <span class="dim">|</span> 
20 <a href="#GooCanvasPolyline.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_properties">  <span class="dim">|</span> 
21 <a href="#GooCanvasPolyline.properties" class="shortcut">Properties</a></span>
22 </td>
23 <td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
24 <td><a accesskey="u" href="ch03.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
25 <td><a accesskey="p" href="GooCanvasPath.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
26 <td><a accesskey="n" href="GooCanvasRect.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
27 </tr></table>
28 <div class="refentry">
29 <a name="GooCanvasPolyline"></a><div class="titlepage"></div>
30 <div class="refnamediv"><table width="100%"><tr>
31 <td valign="top">
32 <h2><span class="refentrytitle"><a name="GooCanvasPolyline.top_of_page"></a>GooCanvasPolyline</span></h2>
33 <p>GooCanvasPolyline — a polyline item (a series of lines with optional arrows).</p>
34 </td>
35 <td class="gallery_image" valign="top" align="right"></td>
36 </tr></table></div>
37 <div class="refsect1">
38 <a name="GooCanvasPolyline.functions"></a><h2>Functions</h2>
39 <div class="informaltable"><table width="100%" border="0">
40 <colgroup>
41 <col width="150px" class="functions_return">
42 <col class="functions_name">
43 </colgroup>
44 <tbody>
45 <tr>
46 <td class="function_type">
47 <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="returnvalue">GooCanvasItem</span></a> *
48 </td>
49 <td class="function_name">
50 <a class="link" href="GooCanvasPolyline.html#goo-canvas-polyline-new" title="goo_canvas_polyline_new ()">goo_canvas_polyline_new</a> <span class="c_punctuation">()</span>
51 </td>
52 </tr>
53 <tr>
54 <td class="function_type">
55 <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="returnvalue">GooCanvasItem</span></a> *
56 </td>
57 <td class="function_name">
58 <a class="link" href="GooCanvasPolyline.html#goo-canvas-polyline-new-line" title="goo_canvas_polyline_new_line ()">goo_canvas_polyline_new_line</a> <span class="c_punctuation">()</span>
59 </td>
60 </tr>
61 </tbody>
62 </table></div>
63 </div>
64 <div class="refsect1">
65 <a name="GooCanvasPolyline.properties"></a><h2>Properties</h2>
66 <div class="informaltable"><table border="0">
67 <colgroup>
68 <col width="150px" class="properties_type">
69 <col width="300px" class="properties_name">
70 <col width="200px" class="properties_flags">
71 </colgroup>
72 <tbody>
73 <tr>
74 <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
75 <td class="property_name"><a class="link" href="GooCanvasPolyline.html#GooCanvasPolyline--arrow-length" title="The “arrow-length” property">arrow-length</a></td>
76 <td class="property_flags">Read / Write</td>
77 </tr>
78 <tr>
79 <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
80 <td class="property_name"><a class="link" href="GooCanvasPolyline.html#GooCanvasPolyline--arrow-tip-length" title="The “arrow-tip-length” property">arrow-tip-length</a></td>
81 <td class="property_flags">Read / Write</td>
82 </tr>
83 <tr>
84 <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
85 <td class="property_name"><a class="link" href="GooCanvasPolyline.html#GooCanvasPolyline--arrow-width" title="The “arrow-width” property">arrow-width</a></td>
86 <td class="property_flags">Read / Write</td>
87 </tr>
88 <tr>
89 <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
90 <td class="property_name"><a class="link" href="GooCanvasPolyline.html#GooCanvasPolyline--close-path" title="The “close-path” property">close-path</a></td>
91 <td class="property_flags">Read / Write</td>
92 </tr>
93 <tr>
94 <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
95 <td class="property_name"><a class="link" href="GooCanvasPolyline.html#GooCanvasPolyline--end-arrow" title="The “end-arrow” property">end-arrow</a></td>
96 <td class="property_flags">Read / Write</td>
97 </tr>
98 <tr>
99 <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
100 <td class="property_name"><a class="link" href="GooCanvasPolyline.html#GooCanvasPolyline--height" title="The “height” property">height</a></td>
101 <td class="property_flags">Read / Write</td>
102 </tr>
103 <tr>
104 <td class="property_type">
105 <a class="link" href="goocanvas2-GooCanvas-Types.html#GooCanvasPoints"><span class="type">GooCanvasPoints</span></a> *</td>
106 <td class="property_name"><a class="link" href="GooCanvasPolyline.html#GooCanvasPolyline--points" title="The “points” property">points</a></td>
107 <td class="property_flags">Read / Write</td>
108 </tr>
109 <tr>
110 <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
111 <td class="property_name"><a class="link" href="GooCanvasPolyline.html#GooCanvasPolyline--start-arrow" title="The “start-arrow” property">start-arrow</a></td>
112 <td class="property_flags">Read / Write</td>
113 </tr>
114 <tr>
115 <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
116 <td class="property_name"><a class="link" href="GooCanvasPolyline.html#GooCanvasPolyline--width" title="The “width” property">width</a></td>
117 <td class="property_flags">Read / Write</td>
118 </tr>
119 <tr>
120 <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
121 <td class="property_name"><a class="link" href="GooCanvasPolyline.html#GooCanvasPolyline--x" title="The “x” property">x</a></td>
122 <td class="property_flags">Read / Write</td>
123 </tr>
124 <tr>
125 <td class="property_type"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></td>
126 <td class="property_name"><a class="link" href="GooCanvasPolyline.html#GooCanvasPolyline--y" title="The “y” property">y</a></td>
127 <td class="property_flags">Read / Write</td>
128 </tr>
129 </tbody>
130 </table></div>
131 </div>
132 <div class="refsect1">
133 <a name="GooCanvasPolyline.other"></a><h2>Types and Values</h2>
134 <div class="informaltable"><table width="100%" border="0">
135 <colgroup>
136 <col width="150px" class="name">
137 <col class="description">
138 </colgroup>
139 <tbody><tr>
140 <td class="datatype_keyword">struct</td>
141 <td class="function_name"><a class="link" href="GooCanvasPolyline.html#GooCanvasPolyline-struct" title="struct GooCanvasPolyline">GooCanvasPolyline</a></td>
142 </tr></tbody>
143 </table></div>
144 </div>
145 <div class="refsect1">
146 <a name="GooCanvasPolyline.object-hierarchy"></a><h2>Object Hierarchy</h2>
147 <pre class="screen"> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
148 <span class="lineart">╰──</span> <a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple">GooCanvasItemSimple</a>
149 <span class="lineart">╰──</span> GooCanvasPolyline
150 </pre>
151 </div>
152 <div class="refsect1">
153 <a name="GooCanvasPolyline.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
154 <p>
155 GooCanvasPolyline implements
156 <a class="link" href="GooCanvasItem.html" title="GooCanvasItem">GooCanvasItem</a>.</p>
157 </div>
158 <div class="refsect1">
159 <a name="GooCanvasPolyline.description"></a><h2>Description</h2>
160 <p>GooCanvasPolyline represents a polyline item, which is a series of one or
161 more lines, with optional arrows at either end.</p>
162 <p>It is a subclass of <a class="link" href="GooCanvasItemSimple.html" title="GooCanvasItemSimple"><span class="type">GooCanvasItemSimple</span></a> and so inherits all of the style
163 properties such as "stroke-color", "fill-color" and "line-width".</p>
164 <p>It also implements the <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> interface, so you can use the
165 <a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> functions such as <a class="link" href="GooCanvasItem.html#goo-canvas-item-raise" title="goo_canvas_item_raise ()"><code class="function">goo_canvas_item_raise()</code></a> and
166 <a class="link" href="GooCanvasItem.html#goo-canvas-item-rotate" title="goo_canvas_item_rotate ()"><code class="function">goo_canvas_item_rotate()</code></a>.</p>
167 <p>To create a <a class="link" href="GooCanvasPolyline.html" title="GooCanvasPolyline"><span class="type">GooCanvasPolyline</span></a> use <a class="link" href="GooCanvasPolyline.html#goo-canvas-polyline-new" title="goo_canvas_polyline_new ()"><code class="function">goo_canvas_polyline_new()</code></a>, or
168 <a class="link" href="GooCanvasPolyline.html#goo-canvas-polyline-new-line" title="goo_canvas_polyline_new_line ()"><code class="function">goo_canvas_polyline_new_line()</code></a> for a simple line between two points.</p>
169 <p>To get or set the properties of an existing <a class="link" href="GooCanvasPolyline.html" title="GooCanvasPolyline"><span class="type">GooCanvasPolyline</span></a>, use
170 <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-get"><code class="function">g_object_get()</code></a> and <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-set"><code class="function">g_object_set()</code></a>.</p>
171 </div>
172 <div class="refsect1">
173 <a name="GooCanvasPolyline.functions_details"></a><h2>Functions</h2>
174 <div class="refsect2">
175 <a name="goo-canvas-polyline-new"></a><h3>goo_canvas_polyline_new ()</h3>
176 <pre class="programlisting"><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="returnvalue">GooCanvasItem</span></a> *
177 goo_canvas_polyline_new (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *parent</code></em>,
178 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> close_path</code></em>,
179 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> num_points</code></em>,
180 <em class="parameter"><code>...</code></em>);</pre>
181 <p>Creates a new polyline item.</p>
182 <p>Here's an example showing how to create a filled triangle with vertices
183 at (100,100), (300,100), and (200,300).</p>
184 <div class="informalexample">
185 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
186 <tbody>
187 <tr>
188 <td class="listing_lines" align="right"><pre>1
189 2
190 3
191 4
192 5
193 6
194 7
195 8</pre></td>
196 <td class="listing_code"><pre class="programlisting"><span class="usertype">GooCanvasItem</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">polyline </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GooCanvasPolyline.html#goo-canvas-polyline-new">goo_canvas_polyline_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">mygroup</span><span class="symbol">,</span><span class="normal"> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">,</span><span class="normal"> </span><span class="number">3</span><span class="symbol">,</span>
197 <span class="normal"> </span><span class="number">100.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100.0</span><span class="symbol">,</span>
198 <span class="normal"> </span><span class="number">300.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100.0</span><span class="symbol">,</span>
199 <span class="normal"> </span><span class="number">200.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">300.0</span><span class="symbol">,</span>
200 <span class="normal"> </span><span class="string">"stroke-color"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"red"</span><span class="symbol">,</span>
201 <span class="normal"> </span><span class="string">"line-width"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">5.0</span><span class="symbol">,</span>
202 <span class="normal"> </span><span class="string">"fill-color"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"blue"</span><span class="symbol">,</span>
203 <span class="normal"> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
204 </tr>
205 </tbody>
206 </table>
207 </div>
208
209 <div class="refsect3">
210 <a name="goo-canvas-polyline-new.parameters"></a><h4>Parameters</h4>
211 <div class="informaltable"><table width="100%" border="0">
212 <colgroup>
213 <col width="150px" class="parameters_name">
214 <col class="parameters_description">
215 <col width="200px" class="parameters_annotations">
216 </colgroup>
217 <tbody>
218 <tr>
219 <td class="parameter_name"><p>parent</p></td>
220 <td class="parameter_description"><p>the parent item, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. If a parent is specified, it will assume
221 ownership of the item, and the item will automatically be freed when it is
222 removed from the parent. Otherwise call <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> to free it. </p></td>
223 <td class="parameter_annotations"><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></td>
224 </tr>
225 <tr>
226 <td class="parameter_name"><p>close_path</p></td>
227 <td class="parameter_description"><p>if the last point should be connected to the first.</p></td>
228 <td class="parameter_annotations"> </td>
229 </tr>
230 <tr>
231 <td class="parameter_name"><p>num_points</p></td>
232 <td class="parameter_description"><p>the number of points in the polyline.</p></td>
233 <td class="parameter_annotations"> </td>
234 </tr>
235 <tr>
236 <td class="parameter_name"><p>...</p></td>
237 <td class="parameter_description"><p>the pairs of coordinates for each point in the line, followed by
238 optional pairs of property names and values, and a terminating <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
239 <td class="parameter_annotations"> </td>
240 </tr>
241 </tbody>
242 </table></div>
243 </div>
244 <div class="refsect3">
245 <a name="goo-canvas-polyline-new.returns"></a><h4>Returns</h4>
246 <p>a new polyline item. </p>
247 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
248 </div>
249 </div>
250 <hr>
251 <div class="refsect2">
252 <a name="goo-canvas-polyline-new-line"></a><h3>goo_canvas_polyline_new_line ()</h3>
253 <pre class="programlisting"><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="returnvalue">GooCanvasItem</span></a> *
254 goo_canvas_polyline_new_line (<em class="parameter"><code><a class="link" href="GooCanvasItem.html" title="GooCanvasItem"><span class="type">GooCanvasItem</span></a> *parent</code></em>,
255 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x1</code></em>,
256 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y1</code></em>,
257 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> x2</code></em>,
258 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> y2</code></em>,
259 <em class="parameter"><code>...</code></em>);</pre>
260 <p>Creates a new polyline item with a single line.</p>
261 <p>Here's an example showing how to create a line from (100,100) to (300,300).</p>
262 <div class="informalexample">
263 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
264 <tbody>
265 <tr>
266 <td class="listing_lines" align="right"><pre>1
267 2
268 3
269 4
270 5
271 6</pre></td>
272 <td class="listing_code"><pre class="programlisting"><span class="usertype">GooCanvasItem</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">polyline </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GooCanvasPolyline.html#goo-canvas-polyline-new-line">goo_canvas_polyline_new_line</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">mygroup</span><span class="symbol">,</span>
273 <span class="normal"> </span><span class="number">100.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">100.0</span><span class="symbol">,</span>
274 <span class="normal"> </span><span class="number">300.0</span><span class="symbol">,</span><span class="normal"> </span><span class="number">300.0</span><span class="symbol">,</span>
275 <span class="normal"> </span><span class="string">"stroke-color"</span><span class="symbol">,</span><span class="normal"> </span><span class="string">"red"</span><span class="symbol">,</span>
276 <span class="normal"> </span><span class="string">"line-width"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">5.0</span><span class="symbol">,</span>
277 <span class="normal"> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span></pre></td>
278 </tr>
279 </tbody>
280 </table>
281 </div>
282
283 <div class="refsect3">
284 <a name="goo-canvas-polyline-new-line.parameters"></a><h4>Parameters</h4>
285 <div class="informaltable"><table width="100%" border="0">
286 <colgroup>
287 <col width="150px" class="parameters_name">
288 <col class="parameters_description">
289 <col width="200px" class="parameters_annotations">
290 </colgroup>
291 <tbody>
292 <tr>
293 <td class="parameter_name"><p>parent</p></td>
294 <td class="parameter_description"><p>the parent item, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
295 <td class="parameter_annotations"><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></td>
296 </tr>
297 <tr>
298 <td class="parameter_name"><p>x1</p></td>
299 <td class="parameter_description"><p>the x coordinate of the start of the line.</p></td>
300 <td class="parameter_annotations"> </td>
301 </tr>
302 <tr>
303 <td class="parameter_name"><p>y1</p></td>
304 <td class="parameter_description"><p>the y coordinate of the start of the line.</p></td>
305 <td class="parameter_annotations"> </td>
306 </tr>
307 <tr>
308 <td class="parameter_name"><p>x2</p></td>
309 <td class="parameter_description"><p>the x coordinate of the end of the line.</p></td>
310 <td class="parameter_annotations"> </td>
311 </tr>
312 <tr>
313 <td class="parameter_name"><p>y2</p></td>
314 <td class="parameter_description"><p>the y coordinate of the end of the line.</p></td>
315 <td class="parameter_annotations"> </td>
316 </tr>
317 <tr>
318 <td class="parameter_name"><p>...</p></td>
319 <td class="parameter_description"><p>optional pairs of property names and values, and a terminating <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
320 <td class="parameter_annotations"> </td>
321 </tr>
322 </tbody>
323 </table></div>
324 </div>
325 <div class="refsect3">
326 <a name="goo-canvas-polyline-new-line.returns"></a><h4>Returns</h4>
327 <p>a new polyline item. </p>
328 <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
329 </div>
330 </div>
331 </div>
332 <div class="refsect1">
333 <a name="GooCanvasPolyline.other_details"></a><h2>Types and Values</h2>
334 <div class="refsect2">
335 <a name="GooCanvasPolyline-struct"></a><h3>struct GooCanvasPolyline</h3>
336 <pre class="programlisting">struct GooCanvasPolyline;</pre>
337 <p>The <a class="link" href="GooCanvasPolyline.html#GooCanvasPolyline-struct" title="struct GooCanvasPolyline"><span class="type">GooCanvasPolyline</span></a> struct contains private data only.</p>
338 </div>
339 </div>
340 <div class="refsect1">
341 <a name="GooCanvasPolyline.property-details"></a><h2>Property Details</h2>
342 <div class="refsect2">
343 <a name="GooCanvasPolyline--arrow-length"></a><h3>The <code class="literal">“arrow-length”</code> property</h3>
344 <pre class="programlisting"> “arrow-length” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
345 <p>The length of the arrows, as a multiple of the line width.</p>
346 <p>Flags: Read / Write</p>
347 <p>Allowed values: &gt;= 0</p>
348 <p>Default value: 5</p>
349 </div>
350 <hr>
351 <div class="refsect2">
352 <a name="GooCanvasPolyline--arrow-tip-length"></a><h3>The <code class="literal">“arrow-tip-length”</code> property</h3>
353 <pre class="programlisting"> “arrow-tip-length” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
354 <p>The length of the arrow tip, as a multiple of the line width.</p>
355 <p>Flags: Read / Write</p>
356 <p>Allowed values: &gt;= 0</p>
357 <p>Default value: 4</p>
358 </div>
359 <hr>
360 <div class="refsect2">
361 <a name="GooCanvasPolyline--arrow-width"></a><h3>The <code class="literal">“arrow-width”</code> property</h3>
362 <pre class="programlisting"> “arrow-width” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
363 <p>The width of the arrows, as a multiple of the line width.</p>
364 <p>Flags: Read / Write</p>
365 <p>Allowed values: &gt;= 0</p>
366 <p>Default value: 4</p>
367 </div>
368 <hr>
369 <div class="refsect2">
370 <a name="GooCanvasPolyline--close-path"></a><h3>The <code class="literal">“close-path”</code> property</h3>
371 <pre class="programlisting"> “close-path” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
372 <p>If the last point should be connected to the first.</p>
373 <p>Flags: Read / Write</p>
374 <p>Default value: FALSE</p>
375 </div>
376 <hr>
377 <div class="refsect2">
378 <a name="GooCanvasPolyline--end-arrow"></a><h3>The <code class="literal">“end-arrow”</code> property</h3>
379 <pre class="programlisting"> “end-arrow” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
380 <p>If an arrow should be displayed at the end of the polyline.</p>
381 <p>Flags: Read / Write</p>
382 <p>Default value: FALSE</p>
383 </div>
384 <hr>
385 <div class="refsect2">
386 <a name="GooCanvasPolyline--height"></a><h3>The <code class="literal">“height”</code> property</h3>
387 <pre class="programlisting"> “height” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
388 <p>The height of the polyline.</p>
389 <p>Flags: Read / Write</p>
390 <p>Allowed values: &gt;= 0</p>
391 <p>Default value: 0</p>
392 </div>
393 <hr>
394 <div class="refsect2">
395 <a name="GooCanvasPolyline--points"></a><h3>The <code class="literal">“points”</code> property</h3>
396 <pre class="programlisting"> “points” <a class="link" href="goocanvas2-GooCanvas-Types.html#GooCanvasPoints"><span class="type">GooCanvasPoints</span></a> *</pre>
397 <p>The array of points.</p>
398 <p>Flags: Read / Write</p>
399 </div>
400 <hr>
401 <div class="refsect2">
402 <a name="GooCanvasPolyline--start-arrow"></a><h3>The <code class="literal">“start-arrow”</code> property</h3>
403 <pre class="programlisting"> “start-arrow” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
404 <p>If an arrow should be displayed at the start of the polyline.</p>
405 <p>Flags: Read / Write</p>
406 <p>Default value: FALSE</p>
407 </div>
408 <hr>
409 <div class="refsect2">
410 <a name="GooCanvasPolyline--width"></a><h3>The <code class="literal">“width”</code> property</h3>
411 <pre class="programlisting"> “width” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
412 <p>The width of the polyline.</p>
413 <p>Flags: Read / Write</p>
414 <p>Allowed values: &gt;= 0</p>
415 <p>Default value: 0</p>
416 </div>
417 <hr>
418 <div class="refsect2">
419 <a name="GooCanvasPolyline--x"></a><h3>The <code class="literal">“x”</code> property</h3>
420 <pre class="programlisting"> “x” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
421 <p>The x coordinate of the left-most point of the polyline.</p>
422 <p>Flags: Read / Write</p>
423 <p>Default value: 0</p>
424 </div>
425 <hr>
426 <div class="refsect2">
427 <a name="GooCanvasPolyline--y"></a><h3>The <code class="literal">“y”</code> property</h3>
428 <pre class="programlisting"> “y” <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a></pre>
429 <p>The y coordinate of the top-most point of the polyline.</p>
430 <p>Flags: Read / Write</p>
431 <p>Default value: 0</p>
432 </div>
433 </div>
434 </div>
435 <div class="footer">
436 <hr>Generated by GTK-Doc V1.26</div>
437 </body>
438 </html>