table of contents
other versions
Goo::Canvas::ImageModel(3pm) | User Contributed Perl Documentation | Goo::Canvas::ImageModel(3pm) |
NAME¶
Goo::Canvas::ImageModel - wrapper for GooCanvasImageModel
HIERARCHY¶
Glib::Object +----Goo::Canvas::ItemModelSimple +----Goo::Canvas::ImageModel
INTERFACES¶
Goo::Canvas::ItemModel
METHODS¶
itemmodel = Goo::Canvas::ImageModel->new ($parent, $pixbuf, $x, $y, ...)¶
- $parent (Goo::Canvas::ItemModel)
- $pixbuf ((unknown))
- $x (double)
- $y (double)
- ... (list)
PROPERTIES¶
- 'alpha' (double : default 1 : readable / writable)
- The opacity of the image, 0.0 is fully transparent, and 1.0 is opaque.
- 'height' (double : default 0 : readable / writable)
- The height of the image
- 'pattern' (Goo::Cairo::Pattern : default undef : readable / writable)
- The cairo pattern to paint
- 'pixbuf' (Gtk2::Gdk::Pixbuf : default undef : writable)
- The GdkPixbuf to display
- 'scale-to-fit' (boolean : default false : readable / writable)
- If the image is scaled to fit the width and height settings
- 'width' (double : default 0 : readable / writable)
- The width of the image
- 'x' (double : default 0 : readable / writable)
- The x coordinate of the image
- 'y' (double : default 0 : readable / writable)
- The y coordinate of the image
SEE ALSO¶
Glib::Object, Goo::Canvas::ItemModelSimple
COPYRIGHT¶
Copyright (C) 2017 Gtk2-Perl Team
2017-07-23 | perl v5.26.0 |