1Goo::Canvas::ImageModelU(s3e)r Contributed Perl DocumentaGtoioo:n:Canvas::ImageModel(3)
2
3
4

NAME

6       Goo::Canvas::ImageModel - wrapper for GooCanvasImageModel
7

HIERARCHY

9         Glib::Object
10         +----Goo::Canvas::ItemModelSimple
11              +----Goo::Canvas::ImageModel
12

INTERFACES

14         Goo::Canvas::ItemModel
15

METHODS

17   itemmodel = Goo::Canvas::ImageModel->new ($parent, $pixbuf, $x, $y, ...)
18       ·   $parent (Goo::Canvas::ItemModel)
19
20       ·   $pixbuf ((unknown))
21
22       ·   $x (double)
23
24       ·   $y (double)
25
26       ·   ... (list)
27

PROPERTIES

29       'alpha' (double : default 1 : readable / writable)
30           The opacity of the image, 0.0 is fully transparent, and 1.0 is
31           opaque.
32
33       'height' (double : default 0 : readable / writable)
34           The height of the image
35
36       'pattern' (Goo::Cairo::Pattern : default undef : readable / writable)
37           The cairo pattern to paint
38
39       'pixbuf' (Gtk2::Gdk::Pixbuf : default undef : writable)
40           The GdkPixbuf to display
41
42       'scale-to-fit' (boolean : default false : readable / writable)
43           If the image is scaled to fit the width and height settings
44
45       'width' (double : default 0 : readable / writable)
46           The width of the image
47
48       'x' (double : default 0 : readable / writable)
49           The x coordinate of the image
50
51       'y' (double : default 0 : readable / writable)
52           The y coordinate of the image
53

SEE ALSO

55       Glib::Object, Goo::Canvas::ItemModelSimple
56
58       Copyright (C) 2020 Gtk2-Perl Team
59
60
61
62perl v5.32.0                      2020-07-28        Goo::Canvas::ImageModel(3)
Impressum