1Gtk2::Gdk::Rectangle(3)User Contributed Perl DocumentatioGntk2::Gdk::Rectangle(3)
2
3
4
6 Gtk2::Gdk::Rectangle - wrapper for GdkRectangle
7
9 Glib::Boxed
10 +----Gtk2::Gdk::Rectangle
11
13 rectangle = Gtk2::Gdk::Rectangle->new ($x, $y, $width, $height)
14 • $x (integer)
15
16 • $y (integer)
17
18 • $width (integer)
19
20 • $height (integer)
21
22 integer = $rectangle->height
23 oldvalue = $rectangle->height ($newvalue)
24 • $newvalue (integer)
25
26 rectangle = $src1->intersect ($src2)
27 • $src2 (Gtk2::Gdk::Rectangle)
28
29 rectangle = $src1->union ($src2)
30 • $src2 (Gtk2::Gdk::Rectangle)
31
32 (x, y, width, height) = $rectangle->values
33 integer = $rectangle->width
34 oldvalue = $rectangle->width ($newvalue)
35 • $newvalue (integer)
36
37 integer = $rectangle->x
38 oldvalue = $rectangle->x ($newvalue)
39 • $newvalue (integer)
40
41 integer = $rectangle->y
42 oldvalue = $rectangle->y ($newvalue)
43 • $newvalue (integer)
44
46 Gtk2, Glib::Boxed
47
49 Copyright (C) 2003-2011 by the gtk2-perl team.
50
51 This software is licensed under the LGPL. See Gtk2 for a full notice.
52
53
54
55perl v5.38.0 2023-07-20 Gtk2::Gdk::Rectangle(3)