.\" Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .if !\nF .nr F 0 .if \nF>0 \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} .\} .\" ======================================================================== .\" .IX Title "Goo::Canvas::PolylineModel 3pm" .TH Goo::Canvas::PolylineModel 3pm "2014-02-22" "perl v5.24.1" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Goo::Canvas::PolylineModel \- wrapper for GooCanvasPolylineModel .SH "HIERARCHY" .IX Header "HIERARCHY" .Vb 3 \& Glib::Object \& +\-\-\-\-Goo::Canvas::ItemModelSimple \& +\-\-\-\-Goo::Canvas::PolylineModel .Ve .SH "INTERFACES" .IX Header "INTERFACES" .Vb 1 \& Goo::Canvas::ItemModel .Ve .SH "METHODS" .IX Header "METHODS" .ie n .SS "itemmodel = Goo::Canvas::PolylineModel\->\fBnew\fP ($parent, $close_path, $points, ...)" .el .SS "itemmodel = Goo::Canvas::PolylineModel\->\fBnew\fP ($parent, \f(CW$close_path\fP, \f(CW$points\fP, ...)" .IX Subsection "itemmodel = Goo::Canvas::PolylineModel->new ($parent, $close_path, $points, ...)" .IP "\(bu" 4 \&\f(CW$parent\fR (Goo::Canvas::ItemModel) .IP "\(bu" 4 \&\f(CW$close_path\fR (boolean) .IP "\(bu" 4 \&\f(CW$points\fR (arrayref) The points is an array reference that contains a flat points coordinates. If you want create a polyline without points, pass an empty array refer or undef. .IP "\(bu" 4 \&... (list) .ie n .SS "itemmodel = Goo::Canvas::PolylineModel\->\fBnew_line\fP ($parent, $x1, $y1, $x2, $y2, ...)" .el .SS "itemmodel = Goo::Canvas::PolylineModel\->\fBnew_line\fP ($parent, \f(CW$x1\fP, \f(CW$y1\fP, \f(CW$x2\fP, \f(CW$y2\fP, ...)" .IX Subsection "itemmodel = Goo::Canvas::PolylineModel->new_line ($parent, $x1, $y1, $x2, $y2, ...)" .IP "\(bu" 4 \&\f(CW$parent\fR (Goo::Canvas::ItemModel) .IP "\(bu" 4 \&\f(CW$x1\fR (double) .IP "\(bu" 4 \&\f(CW$y1\fR (double) .IP "\(bu" 4 \&\f(CW$x2\fR (double) .IP "\(bu" 4 \&\f(CW$y2\fR (double) .IP "\(bu" 4 \&... (list) .SH "PROPERTIES" .IX Header "PROPERTIES" .IP "'arrow\-length' (double : default 5 : readable / writable)" 4 .IX Item "'arrow-length' (double : default 5 : readable / writable)" The length of the arrows, as a multiple of the line width .IP "'arrow\-tip\-length' (double : default 4 : readable / writable)" 4 .IX Item "'arrow-tip-length' (double : default 4 : readable / writable)" The length of the arrow tip, as a multiple of the line width .IP "'arrow\-width' (double : default 4 : readable / writable)" 4 .IX Item "'arrow-width' (double : default 4 : readable / writable)" The width of the arrows, as a multiple of the line width .IP "'close\-path' (boolean : default false : readable / writable)" 4 .IX Item "'close-path' (boolean : default false : readable / writable)" If the last point should be connected to the first .IP "'end\-arrow' (boolean : default false : readable / writable)" 4 .IX Item "'end-arrow' (boolean : default false : readable / writable)" If an arrow should be displayed at the end of the polyline .IP "'height' (double : default 0 : readable / writable)" 4 .IX Item "'height' (double : default 0 : readable / writable)" The height of the polyline .IP "'points' (Goo::Canvas::Points : default undef : readable / writable)" 4 .IX Item "'points' (Goo::Canvas::Points : default undef : readable / writable)" The array of points .IP "'start\-arrow' (boolean : default false : readable / writable)" 4 .IX Item "'start-arrow' (boolean : default false : readable / writable)" If an arrow should be displayed at the start of the polyline .IP "'width' (double : default 0 : readable / writable)" 4 .IX Item "'width' (double : default 0 : readable / writable)" The width of the polyline .IP "'x' (double : default 0 : readable / writable)" 4 .IX Item "'x' (double : default 0 : readable / writable)" The x coordinate of the left-most point of the polyline .IP "'y' (double : default 0 : readable / writable)" 4 .IX Item "'y' (double : default 0 : readable / writable)" The y coordinate of the top-most point of the polyline .SH "SEE ALSO" .IX Header "SEE ALSO" Glib::Object, Goo::Canvas::ItemModelSimple .SH "COPYRIGHT" .IX Header "COPYRIGHT" Copyright (C) 2014 Gtk2\-Perl Team