Clutter::ActorBox(3pm)

Clutter::ActorBox3pm

Wrapper for clutteractorbox

Overview

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)

•

$x1 (double)

•

$y1 (double)

•

$x2 (double)

•

$y2 (double)

double = $box->get_area

boolean = $box->contains ($x, $y)

•

$x (double)

•

$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)

•

$newvalue (integer)

integer = $box->x2

oldvalue = $box->x2 ($newvalue)

•

$newvalue (integer)

y = $box->y

integer = $box->y1

oldvalue = $box->y1 ($newvalue)

•

$newvalue (integer)

integer = $box->y2

oldvalue = $box->y2 ($newvalue)

•

$newvalue (integer)

Releases

2 releases since Debian 5.0 (Lenny); the text changed 1 time.

  1. 5.0
  2. 6.0

From libclutter-perl 1.002-1 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.