Scroll to navigation

Goo::Canvas::RectModel(3pm) User Contributed Perl Documentation Goo::Canvas::RectModel(3pm)

NAME

Goo::Canvas::RectModel - wrapper for GooCanvasRectModel

HIERARCHY

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

INTERFACES

  Goo::Canvas::ItemModel

METHODS

itemmodel = Goo::Canvas::RectModel->new ($parent, $x, $y, $width, $height, ...)

  • $parent (Goo::Canvas::ItemModel)
  • $x (double)
  • $y (double)
  • $width (double)
  • $height (double)
  • ... (list)

PROPERTIES

'height' (double : default 0 : readable / writable)
The height of the rectangle
'radius-x' (double : default 0 : readable / writable)
The horizontal radius to use for rounded corners
'radius-y' (double : default 0 : readable / writable)
The vertical radius to use for rounded corners
'width' (double : default 0 : readable / writable)
The width of the rectangle
'x' (double : default 0 : readable / writable)
The x coordinate of the rectangle
'y' (double : default 0 : readable / writable)
The y coordinate of the rectangle

SEE ALSO

Glib::Object, Goo::Canvas::ItemModelSimple

COPYRIGHT

Copyright (C) 2017 Gtk2-Perl Team

2017-07-23 perl v5.26.0