Clutter::ActorBox(3pm)
NAME
Clutter::ActorBox - wrapper for ClutterActorBox
DESCRIPTION
- The bounding box of an actor, represented by the coordinates of the
upper left and lower right corners: - +-----------------------+
| (x1,y1) |
| |
| (x2,y2) |
+-----------------------+
HIERARCHY
Glib::Boxed
+----Clutter::ActorBox
METHODS
- actorbox = Clutter::ActorBox->new ($x1, $y1, $x2, $y2)
- o $x1 (double)
- o $y1 (double)
- o $x2 (double)
- o $y2 (double)
- double = $box->get_area
boolean = $box->contains ($x, $y) - o $x (double)
- o $y (double)
- height = $box->height
(x, y) = $box->origin
(width, height) = $box->size (x1, y1, x2, y2) = $box->values width = $box->width
x = $box->x
integer = $box->x1
oldvalue = $box->x1 ($newvalue) - o $newvalue (integer)
- integer = $box->x2
oldvalue = $box->x2 ($newvalue) - o $newvalue (integer)
- y = $box->y
integer = $box->y1
oldvalue = $box->y1 ($newvalue) - o $newvalue (integer)
- integer = $box->y2
oldvalue = $box->y2 ($newvalue) - o $newvalue (integer)
SEE ALSO
Clutter, Glib::Boxed
COPYRIGHT
Copyright (C) 2006, 2007, 2008 OpenedHand Ltd
Copyright (C) 2009 Intel Corporation
This module is free software; you can redistribute it and/or modify it
under the terms of either:
o the GNU Lesser General Public Library version 2.1; or
o the Artistic License, version 2.0.
- See Clutter for the full copyright notice.