Goo::Canvas::PolylineModel.3pm

Langue: en

Autres versions - même langue

Version: 2010-05-12 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Goo::Canvas::PolylineModel

HIERARCHY

   Glib::Object
   +----Goo::Canvas::ItemModelSimple
        +----Goo::Canvas::PolylineModel
 
 

INTERFACES

   Goo::Canvas::ItemModel
 
 

METHODS

itemmodel = Goo::Canvas::PolylineModel->new ($parent, $close_path, $points, ...)

*
$parent (Goo::Canvas::ItemModel)
*
$close_path (boolean)
*
$points (AV) 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.
*
... (list)

itemmodel = Goo::Canvas::PolylineModel->new_line ($parent, $x1, $y1, $x2, $y2, ...)

*
$parent (Goo::Canvas::ItemModel)
*
$x1 (double)
*
$y1 (double)
*
$x2 (double)
*
$y2 (double)
*
... (list)

PROPERTIES

'arrow-length' (double : readable / writable)
The length of the arrows, as a multiple of the line width
'arrow-tip-length' (double : readable / writable)
The length of the arrow tip, as a multiple of the line width
'arrow-width' (double : readable / writable)
The width of the arrows, as a multiple of the line width
'close-path' (boolean : readable / writable)
If the last point should be connected to the first
'end-arrow' (boolean : readable / writable)
If an arrow should be displayed at the end of the polyline
'height' (double : readable / writable)
The height of the polyline
'points' (Goo::Canvas::Points : readable / writable)
The array of points
'start-arrow' (boolean : readable / writable)
If an arrow should be displayed at the start of the polyline
'width' (double : readable / writable)
The width of the polyline
'x' (double : readable / writable)
The x coordinate of the left-most point of the polyline
'y' (double : readable / writable)
The y coordinate of the top-most point of the polyline

SEE ALSO

Glib::Object, Goo::Canvas::ItemModelSimple Copyright (C) 2010 Gtk2-Perl Team