1Goo::Canvas::Polyline(3U)ser Contributed Perl DocumentatiGoono::Canvas::Polyline(3)
2
3
4

NAME

6       Goo::Canvas::Polyline - wrapper for GooCanvasPolyline
7

HIERARCHY

9         Glib::Object
10         +----Goo::Canvas::ItemSimple
11              +----Goo::Canvas::Polyline
12

INTERFACES

14         Goo::Canvas::Item
15

METHODS

17   item = Goo::Canvas::Polyline->new ($parent, $close_path, $points, ...)
18       •   $parent (Goo::Canvas::Item)
19
20       •   $close_path (boolean)
21
22       •   $points (arrayref) The points is an array reference that contains a
23           flat points coordinates. If you want create a polyline without
24           points, pass an empty array refer or undef.
25
26       •   ... (list)
27
28   item = Goo::Canvas::Polyline->new_line ($parent, $x1, $y1, $x2, $y2, ...)
29       •   $parent (Goo::Canvas::Item)
30
31       •   $x1 (double)
32
33       •   $y1 (double)
34
35       •   $x2 (double)
36
37       •   $y2 (double)
38
39       •   ... (list)
40

PROPERTIES

42       'arrow-length' (double : default 5 : readable / writable)
43           The length of the arrows, as a multiple of the line width
44
45       'arrow-tip-length' (double : default 4 : readable / writable)
46           The length of the arrow tip, as a multiple of the line width
47
48       'arrow-width' (double : default 4 : readable / writable)
49           The width of the arrows, as a multiple of the line width
50
51       'close-path' (boolean : default false : readable / writable)
52           If the last point should be connected to the first
53
54       'end-arrow' (boolean : default false : readable / writable)
55           If an arrow should be displayed at the end of the polyline
56
57       'height' (double : default 0 : readable / writable)
58           The height of the polyline
59
60       'points' (Goo::Canvas::Points : default undef : readable / writable)
61           The array of points
62
63       'start-arrow' (boolean : default false : readable / writable)
64           If an arrow should be displayed at the start of the polyline
65
66       'width' (double : default 0 : readable / writable)
67           The width of the polyline
68
69       'x' (double : default 0 : readable / writable)
70           The x coordinate of the left-most point of the polyline
71
72       'y' (double : default 0 : readable / writable)
73           The y coordinate of the top-most point of the polyline
74

SEE ALSO

76       Glib::Object, Goo::Canvas::ItemSimple
77
79       Copyright (C) 2021 Gtk2-Perl Team
80
81
82
83perl v5.32.1                      2021-01-27          Goo::Canvas::Polyline(3)
Impressum