Rechercher une page de manuel
Clutter::ActorBox.3pm
Langue: en
Version: 2008-02-20 (mandriva - 01/05/08)
Section: 3 (Bibliothèques de fonctions)
NAME
Clutter::ActorBoxDESCRIPTION
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)
actorbox = Clutter::ActorBox->new ($x1, $y1, $x2, $y2)
-
- •
- $x1 (integer)
- •
- $y1 (integer)
- •
- $x2 (integer)
- •
- $y2 (integer)
(x, y) = $box->origin
(x, y) = $box->origin
(width, height) = $box->size
(width, height) = $box->size
(x1, y1, x2, y2) = $box->values
(x1, y1, x2, y2) = $box->values
integer = $box->x1
integer = $box->x1
oldvalue = $box->x1 ($newvalue)
oldvalue = $box->x1 ($newvalue)
-
- •
- $newvalue (integer)
integer = $box->x2
integer = $box->x2
oldvalue = $box->x2 ($newvalue)
oldvalue = $box->x2 ($newvalue)
-
- •
- $newvalue (integer)
integer = $box->y1
integer = $box->y1
oldvalue = $box->y1 ($newvalue)
oldvalue = $box->y1 ($newvalue)
-
- •
- $newvalue (integer)
integer = $box->y2
integer = $box->y2
oldvalue = $box->y2 ($newvalue)
oldvalue = $box->y2 ($newvalue)
-
- •
- $newvalue (integer)
SEE ALSO
Clutter, Glib::BoxedCOPYRIGHT
Copyright (C) 2006 OpenedHand Ltd.This module is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Library version 2.1, or under the terms of the Artistic License. See Clutter for the full copyright notice.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre