1Goo::Canvas::PolylineMoUdseelr(3C)ontributed Perl DocumeGnotoa:t:iCoannvas::PolylineModel(3)
2
3
4

NAME

6       Goo::Canvas::PolylineModel
7

HIERARCHY

9         Glib::Object
10         +----Goo::Canvas::ItemModelSimple
11              +----Goo::Canvas::PolylineModel
12

INTERFACES

14         Goo::Canvas::ItemModel
15

METHODS

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

PROPERTIES

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

SEE ALSO

78       Glib::Object, Goo::Canvas::ItemModelSimple
79
81       Copyright (C) 2010 Gtk2-Perl Team
82
83
84
85perl v5.12.0                      2010-05-12     Goo::Canvas::PolylineModel(3)
Impressum