BoundingBox Class |
Namespace: VO
The BoundingBox type exposes the following members.
Name | Description | |
---|---|---|
BoundingBox |
Construct a bounding box.
|
Name | Description | |
---|---|---|
Bottom |
A numeric value representing the Y coordinate of the bottom side of a bounding box, in canvas coordinates.
| |
Height |
A numeric value representing the height of the bounding box, measured in canvas coordinates.
| |
Left |
A numeric value representing the X coordinate of the left side of a bounding box, in canvas coordinates.
| |
Origin |
A point representing the location of a bounding box, in canvas coordinates.
| |
Right |
A numeric value representing the X coordinate of the right side of a bounding box, in canvas coordinates.
| |
Top |
A numeric value representing the Y coordinate of the top side of a bounding box, in canvas coordinates.
| |
Width |
A numeric value representing the width of the bounding box, in canvas coordinates.
|
Name | Description | |
---|---|---|
ConvertToScreen |
Convert a bounding box to screen coordinates for a given window.
| |
Destroy | Free memory resources allocated for a VObject object and its derived objects. (Inherited from VObject.) | |
PointInside |
Test whether a given point is within the bounds of a bounding box.
| |
Union_ |
Return a new bounding box that represents the minimum area required to contain both this bounding box and the bounding box specified by oBoundingBox.
|
Tip |
---|
A bounding box has no graphical representation—it is just four numbers encapsulated in a class. |
1LOCAL oBB := oEllipse:BoundingBox()