Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Goo::Canvas::PolylineMUser(Contributed Perl DocumGoo::Canvas::PolylineModel(3)

NAME
       Goo::Canvas::PolylineModel - wrapper for	GooCanvasPolylineModel

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

INTERFACES
	 Goo::Canvas::ItemModel

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

       o   $close_path (boolean)

       o   $points (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.

       o   ... (list)

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

       o   $x1 (double)

       o   $y1 (double)

       o   $x2 (double)

       o   $y2 (double)

       o   ... (list)

PROPERTIES
       'arrow-length' (double :	default	5 : readable / writable)
	   The length of the arrows, as	a multiple of the line width

       'arrow-tip-length' (double : default 4 :	readable / writable)
	   The length of the arrow tip,	as a multiple of the line width

       'arrow-width' (double : default 4 : readable / writable)
	   The width of	the arrows, as a multiple of the line width

       'close-path' (boolean : default false : readable	/ writable)
	   If the last point should be connected to the	first

       'end-arrow' (boolean : default false : readable / writable)
	   If an arrow should be displayed at the end of the polyline

       'height'	(double	: default 0 : readable / writable)
	   The height of the polyline

       'points'	(Goo::Canvas::Points : default undef : readable	/ writable)
	   The array of	points

       'start-arrow' (boolean :	default	false :	readable / writable)
	   If an arrow should be displayed at the start	of the polyline

       'width' (double : default 0 : readable /	writable)
	   The width of	the polyline

       'x' (double : default 0 : readable / writable)
	   The x coordinate of the left-most point of the polyline

       'y' (double : default 0 : readable / writable)
	   The y coordinate of the top-most point of the polyline

SEE ALSO
       Glib::Object, Goo::Canvas::ItemModelSimple

COPYRIGHT
       Copyright (C) 2020 Gtk2-Perl Team

perl v5.32.0			  2020-08-30	 Goo::Canvas::PolylineModel(3)

NAME | HIERARCHY | INTERFACES | METHODS | PROPERTIES | SEE ALSO | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Goo::Canvas::PolylineModel&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help