1Goo::Canvas::Image(3) User Contributed Perl DocumentationGoo::Canvas::Image(3)
2
3
4

NAME

6       Goo::Canvas::Image - wrapper for GooCanvasImage
7

HIERARCHY

9         Glib::Object
10         +----Goo::Canvas::ItemSimple
11              +----Goo::Canvas::Image
12

INTERFACES

14         Goo::Canvas::Item
15

METHODS

17   item = Goo::Canvas::Image->new ($parent, $pixbuf, $x, $y, ...)
18       •   $parent (Goo::Canvas::Item)
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::ItemSimple
56
58       Copyright (C) 2021 Gtk2-Perl Team
59
60
61
62perl v5.34.0                      2021-07-22             Goo::Canvas::Image(3)
Impressum