Optionalproperties: Partial<{ x1: number; x2: number; y1: number; y2: number }>Checks whether a point with x, y coordinates is contained
within box
X coordinate of the point
Y coordinate of the point
true if the point is contained by the Clutter.ActorBox
Copies box
a newly allocated copy of Clutter.ActorBox. Use ActorBox.free to free the allocated resources
Checks box_a and box_b for equality
true if the passed Clutter.ActorBox are equal
Frees a Clutter.ActorBox allocated using ActorBox.new or ActorBox.copy.
Calculates the bounding box represented by the four vertices; for details of the vertex array see Actor.get_abs_allocation_vertices.
array of four Graphene.Point3D
Retrieves the height of the box
the height of the box
Retrieves the origin of box
Retrieves the size of box
Retrieves the width of the box
the width of the box
Retrieves the X coordinate of the origin of box
the X coordinate of the origin
Retrieves the Y coordinate of the origin of box
the Y coordinate of the origin
Initializes box with the given coordinates.
X coordinate of the top left point
Y coordinate of the top left point
X coordinate of the bottom right point
Y coordinate of the bottom right point
the initialized Clutter.ActorBox
Initializes box with the given origin and size.
X coordinate of the origin
Y coordinate of the origin
width of the box
height of the box
Interpolates between initial and final Clutter.ActorBoxes
using progress
the final Clutter.ActorBox
the interpolation progress
Checks if box has been initialized, a Clutter.ActorBox is uninitialized
if it has a size of -1 at an origin of 0, 0.
true if the box is uninitialized, false if it isn't
Rescale the box by provided scale factor.
scale factor for resizing this box
Changes the origin of box, maintaining the size of the Clutter.ActorBox.
the X coordinate of the new origin
the Y coordinate of the new origin
Sets the size of box, maintaining the origin of the Clutter.ActorBox.
the new width
the new height
Unions the two boxes a and b and stores the result in result.
the second Clutter.ActorBox
StaticallocStaticclamp_Clamps the components of box to the nearest integer
the Clutter.ActorBox to clamp
Staticnew
Bounding box of an actor.
The coordinates of the top left and right bottom corners of an actor. The coordinates of the two points are expressed in pixels with sub-pixel precision